What's the proper way to get the position of an element on the page relative to the viewport (rather than the document).
Get the current coordinates of the first element, or set the
coordinates of every element, in the set of matched elements, relative
to the document.
Look into the Dimensions plugin, specifically
scrollLeft(). Information can be found at http://api.jquery.com/scrollTop.