And if I click an anchor and then start scrolling my mousewheel before the 1500ms animation is done I get this ugly stuttering, like if the animation is clashing with my scrolling, dunno how to explain. Is it possible to edit this code so that the animation cancels if i scroll?
There probably is a much better answer this but how about adding a class to the html element before scrolling takes place and then removing it when the animation is finished.
Yeah I was thinking about this one to… problem is I don’t know where to use this method on my current code, I tried: putting .stop() before click() and animate(), didnt change anything tho.