javascript - What does $(window).stellar do? -


i have code (it's not written me):

$(window).stellar({     horizontalscrolling: false,     responsive: true }); 

now, i'm curious does. did comment didn't see changes, before ruin something, i'd know can decide whether keep in or not.

it seems activating plugin:

http://markdalgleish.com/projects/stellar.js/

its documentation says options do:

configuring offsets

stellar.js' powerful feature way aligns elements.

all elements return original positioning when offset parent meets edge of screen—plus or minus own optional offset. allows create intricate parallax patterns easily.

confused? see how offsets used on stellar.js home page. modify offsets elements @ once, pass in options:

$.stellar({   horizontaloffset: 40,   verticaloffset: 150 }); 

Comments

Popular posts from this blog

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

python - PyInstaller UAC not working in onefile mode -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -