JQuery Offset and ScrollTop Problems
<p>I'm trying to fix a elements position based on the scroll position within the window.</p>

<p>I thought it would be as easy as getting the offset of the element where the fixed element should become fixed and then when the window.scrollTop is equal to it add CSS but it is weird.</p>

<p>It seems as though the offset of the element is larger than the scrollTop largest numeral.</p>

<p>Is there any other way of getting this to work?</p>

<p>I want it to have the same functionality as this with regards to the footer on scroll; </p>

<p><a href="http://be.blackberry.com/" rel="nofollow">http://be.blackberry.com/</a></p>

<p>But I don't want to clone the element, I want to detect when it gets to near the bottom of the page and then change the position on the bottom of the element.</p>

<p>Thanks in advance.</p>

<p>B</p>
