From jQuery JavaScript Library
« Back to Plugins/dimensions
scrollTop( )
Gets the scroll top offset of the first matched element.
This method works for both visible and hidden elements.
scrollTop( offset )
Sets the scroll top offset.
This method works for both visible and hidden elements.
Arguments:| offset | Integer | |
|---|
| A positive number representing the desired scroll top offset. |