<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jQuery: how to tell if you&#8217;re scroll to bottom?</title>
	<atom:link href="http://yelotofu.com/2008/10/jquery-how-to-tell-if-youre-scroll-to-bottom/feed/" rel="self" type="application/rss+xml" />
	<link>http://yelotofu.com/2008/10/jquery-how-to-tell-if-youre-scroll-to-bottom/</link>
	<description>"In building standards compliant sites we are creating a better Web for the future."</description>
	<lastBuildDate>Thu, 11 Mar 2010 17:53:20 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Benjamin Allison</title>
		<link>http://yelotofu.com/2008/10/jquery-how-to-tell-if-youre-scroll-to-bottom/comment-page-1/#comment-11366</link>
		<dc:creator>Benjamin Allison</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=250#comment-11366</guid>
		<description>Wow, thanks so much! Works great!

I have one error I&#039;m getting in IE, when using the first solution:

&quot;Error:&#039;0.scrollHeight&#039; is null or not an object.&quot;

Any idea what might be causing that?

Thanks!</description>
		<content:encoded><![CDATA[<p>Wow, thanks so much! Works great!</p>
<p>I have one error I&#8217;m getting in IE, when using the first solution:</p>
<p>&#8220;Error:&#8217;0.scrollHeight&#8217; is null or not an object.&#8221;</p>
<p>Any idea what might be causing that?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adobepro</title>
		<link>http://yelotofu.com/2008/10/jquery-how-to-tell-if-youre-scroll-to-bottom/comment-page-1/#comment-11020</link>
		<dc:creator>adobepro</dc:creator>
		<pubDate>Fri, 12 Feb 2010 21:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=250#comment-11020</guid>
		<description>Have you ever tried binding a scroll event using jquery to a scrollable tbody in IE8 using the above code instead of a DIV? I ask, because it&#039;s related, with the above using a DIV works well in both IE8/FF3.6, but when using a table/tbody [scrollable], while it works in FF 3.6 [attaching a scroll event], it doesn&#039;t work with IE8 (IE appears to do nothing, no errors either.) What I want to do is page data whenever the user reaches the bottom of the scrollable tbody -- I can do this with a DIV in both IE8/FF3.6, but not with a tbody in IE8 [but it does work with FF3.6] Thanks!</description>
		<content:encoded><![CDATA[<p>Have you ever tried binding a scroll event using jquery to a scrollable tbody in IE8 using the above code instead of a DIV? I ask, because it&#8217;s related, with the above using a DIV works well in both IE8/FF3.6, but when using a table/tbody [scrollable], while it works in FF 3.6 [attaching a scroll event], it doesn&#8217;t work with IE8 (IE appears to do nothing, no errors either.) What I want to do is page data whenever the user reaches the bottom of the scrollable tbody &#8212; I can do this with a DIV in both IE8/FF3.6, but not with a tbody in IE8 [but it does work with FF3.6] Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adobepro</title>
		<link>http://yelotofu.com/2008/10/jquery-how-to-tell-if-youre-scroll-to-bottom/comment-page-1/#comment-11017</link>
		<dc:creator>adobepro</dc:creator>
		<pubDate>Fri, 12 Feb 2010 15:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=250#comment-11017</guid>
		<description>Thanks, your solution worked well; tested with FF 3.6 and IE8</description>
		<content:encoded><![CDATA[<p>Thanks, your solution worked well; tested with FF 3.6 and IE8</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon-Paul LeClair</title>
		<link>http://yelotofu.com/2008/10/jquery-how-to-tell-if-youre-scroll-to-bottom/comment-page-1/#comment-6795</link>
		<dc:creator>Jon-Paul LeClair</dc:creator>
		<pubDate>Mon, 06 Jul 2009 21:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=250#comment-6795</guid>
		<description>Thanks for the article. I ended up modifying mine a bit as your solution didn&#039;t seem to work for me (adding all three values seemed to always be bigger than the inner&#039;s outerHeight).

I discovered there were three constant values; the inner&#039;s outer height, the container&#039;s offset top, and the container&#039;s height.

So I need to do the following:
if (container.height - inner.offset.top + container.offset.top) &gt;= inner.outerHeight) THEN we reached bottom.

Checked in IE 6&amp;7, FF 3, Safari.

(we&#039;ll see if the code come through unscathed)

$(function(){
	
	var $box = $(&quot;#scrollbox&quot;),
		$inner = $(&quot;&gt; .inner&quot;, $box),
		innerOuterHeight = $inner.outerHeight();
		boxHeight = $box.height();
		boxOffsetTop = $box.offset().top;

	$(&quot;#scrollbox&quot;).scroll(function(){
		if ( Math.ceil(boxHeight - $inner.offset().top + boxOffsetTop) &gt;= innerOuterHeight ) {
			$(&quot;#readitbttn&quot;).removeAttr(&quot;disabled&quot;).attr(&quot;title&quot;, &quot;Continue&quot;);
		}
	});
	
});</description>
		<content:encoded><![CDATA[<p>Thanks for the article. I ended up modifying mine a bit as your solution didn&#8217;t seem to work for me (adding all three values seemed to always be bigger than the inner&#8217;s outerHeight).</p>
<p>I discovered there were three constant values; the inner&#8217;s outer height, the container&#8217;s offset top, and the container&#8217;s height.</p>
<p>So I need to do the following:<br />
if (container.height &#8211; inner.offset.top + container.offset.top) &gt;= inner.outerHeight) THEN we reached bottom.</p>
<p>Checked in IE 6&amp;7, FF 3, Safari.</p>
<p>(we&#8217;ll see if the code come through unscathed)</p>
<p>$(function(){</p>
<p>	var $box = $(&#8221;#scrollbox&#8221;),<br />
		$inner = $(&#8221;&gt; .inner&#8221;, $box),<br />
		innerOuterHeight = $inner.outerHeight();<br />
		boxHeight = $box.height();<br />
		boxOffsetTop = $box.offset().top;</p>
<p>	$(&#8221;#scrollbox&#8221;).scroll(function(){<br />
		if ( Math.ceil(boxHeight &#8211; $inner.offset().top + boxOffsetTop) &gt;= innerOuterHeight ) {<br />
			$(&#8221;#readitbttn&#8221;).removeAttr(&#8221;disabled&#8221;).attr(&#8221;title&#8221;, &#8220;Continue&#8221;);<br />
		}<br />
	});</p>
<p>});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-06-02 &#171; BarelyBlogging</title>
		<link>http://yelotofu.com/2008/10/jquery-how-to-tell-if-youre-scroll-to-bottom/comment-page-1/#comment-5941</link>
		<dc:creator>links for 2009-06-02 &#171; BarelyBlogging</dc:creator>
		<pubDate>Wed, 03 Jun 2009 00:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=250#comment-5941</guid>
		<description>[...] jQuery: how to tell if you’re scroll to bottom? &#124; Yelotofu (tags: javascript scroll) [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery: how to tell if you’re scroll to bottom? | Yelotofu (tags: javascript scroll) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
