How to scroll smoothly with jQuery

[box type=”alert” size=”large”] Please notice: there’s an updated version of this snippet.

Check out the new version Smooth Scroll Effect to anchor – jQuery.

[/box]

We will add a jQuery function to create smooth scroll in our anchor links.

jQuery Animate

You can customize the speed of the effect.

Change the 2000 for 1000 (faster) or 5000 (slower).

Download Demo

Full Code

3 comments

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*