javascript - :Skrollr not working on Chrome -


i seem having problem skrollr, or @ least think it's skrollr that's causing problem...

i'm using code:

data-0="background-position:0px 0px;" data-end="background-position:-3000px 0px;"  

which related skrollr, , reason it's working on ie , firefox, not on chrome unless inspect element first, find strange.

has experienced similar problem , have suggestions on how might fixed?

i'm guessing need refresh since notice works if resize browser.

try code:

settimeout(function () { skrollr.get().refresh(); }, 0); 

you can change timeout 1000 if necessary ensure loads.

see similar issue on github


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -