https://github.com/joequery/jquery-position-fixed-sticky-scroller
jQuery Plugin for keeping an element in a fixed position.
https://github.com/joequery/jquery-position-fixed-sticky-scroller
Last synced: about 1 year ago
JSON representation
jQuery Plugin for keeping an element in a fixed position.
- Host: GitHub
- URL: https://github.com/joequery/jquery-position-fixed-sticky-scroller
- Owner: joequery
- Created: 2011-01-02T09:24:46.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-03-28T15:54:02.000Z (about 15 years ago)
- Last Synced: 2025-03-27T07:21:17.014Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://www.vertstudios.com/blog/jquery-sticky-scroller-position-fixed-plugin/
- Size: 602 KB
- Stars: 34
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
//------------------------------------------
// jQuery Sticky Scroller
//------------------------------------------
Example call:
var scroller = new StickyScroller("#scrollbox",
{
start: 300,
end: 1800,
interval: 300,
range: 100,
margin: 100
});
Property descriptions.
start: At what vertical position of the scrollbar the object will actually begin scrolling (in pixels)
end: At what vertical position of the scrollbar the object will stop scrolling (in pixels)
margin: How many pixels below the browser window the object will be fixed while scrolling (in pixels)
interval: The length of each index (in pixels)
range: Length of a range of pixels starting at the top of interval. Convenient for callbacks.
To see full documentation, head over to
http://www.vertstudios.com/blog/jquery-sticky-scroller-position-fixed-plugin/