cmpolis/scrollIt.js

parallax height variation

marcelabomfim opened this issue · 0 comments

how to calculate the height when you have to change margin-top made ​​with parallax?

when I click on the menu it calculates the offset of the section and moves the window to this position, but during scroll the window I have a parallax effect which is causing margin-top: -10 .. -20 ... -30 .. .