Unlimited Wordpress themes, plugins, graphics & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:26Length:3.5 hours
  • Overview
  • Transcript

5.4 Detecting the Current Position

To finish up our navigation, we need to detect the current scroll position of our page and set the currentPosition variable when the page loads. Once you're done, the page should animate perfectly, no matter where the scroll position is when the page loads.

5.4 Detecting the Current Position

Back to the top