Tuesday, May 18, 2010

jQuery: html anchor (slide the scrollbar)

As we know, anchor tags are great to navigate within a page. However it can also be very disorienting. A simple way to resolve this issue is to create a simple animation that slides down to the target section of the page, rather than jumping to it.

Position Absolute has figured out a way to do this in jQuery in 3 simple steps.

Get the source code at position-absolute.com

View a demo of the code in action

No comments:

Post a Comment