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

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -