« Back to Plugins/dimensions

[edit]

scrollTop( )

Gets the scroll top offset of the first matched element.
This method works for both visible and hidden elements.

[edit]

scrollTop( offset )

Sets the scroll top offset.
This method works for both visible and hidden elements.
Arguments:
offsetInteger
A positive number representing the desired scroll top offset.