A repository of over 1000 quality jQuery plugins

jQuery .scrollTop()

Learn all about the jQuery function .scrollTop().

The vertical scroll position is the same as the number of pixels that are hidden from view above the scrollable area. If the scroll bar is at the very top, or if the element is not scrollable, this number will be 0.