Anchor Link Scrolling

Mastering in-page navigation.

If you have a long page and you want to use anchor links to allow your users to navigate it you might want to scroll to the respective position, instead of jumping to it. After all you put a lot of effort in to all those animations and you want the user to see them...

The best way to achieve this is to use the TweenMax ScrollToPlugin and change the behaviour of all anchor links. (remember to load the necessary plugin file)

view source
Anchor Links

Top

Middle

Bottom

Peek-a-boo!

view source