d1ch0t0my
Community Answers
-
d1ch0t0my's post in ScrollTo Plugin Updating Scroll position was marked as the answer
Hi Jack. Thanks so much for replying and yes you were absolutely right of course. Moving the variable declarations inside the function fixed it perfectly. So simple I kicked myself . I'll make sure any future questions come with a codepen to help. Thanks again!