My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Parameters  
JQuery Scroll Follow Parameters
Updated Feb 4, 2010 by whoo...@gmail.com

Parameters List

speed

int - default: 500

The duration of the sliding animation (in milliseconds). The smaller the value, the faster the animation.

easing

string - default: 'easeOutBack' If included, use any one of the easing options from the easing plugin. Uses 'linear' by default which provides no easing.

offset

int - default: 0

Number of pixels the Scroll Follow object should remain from top of viewport.

container

string - default: object's immediate parent

ID of the containing div.

killSwitch

string - default: 'killSwitch'

ID of the On/Off toggle element. Requires the jQuery Cookie plugin.

onText

string - default: 'Turn Slide Off'

killSwitch text to be displayed if sliding is enabled.

offText

string - default: 'Turn Slide On'

killSwitch text to be displayed if sliding is disabled.

relativeTo

string - default: 'top'

Scroll animation can be relative to either the 'top' or 'bottom' of the viewport.

delay

int - default: 0

Time between the end of the scroll and the beginning of the animation in milliseconds.


Sign in to add a comment
Powered by Google Project Hosting