Documentation

Plugins/dimensions/scrollLeft

From jQuery JavaScript Library

Jump to: navigation, search

« Back to Plugins/dimensions

scrollLeft( )

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

scrollLeft( offset )

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