JavaScript (2)

Smooth Scrolling with jQuery

Create a smooth scrolling effect to an anchor tag on the same page. You can pass a parameter to this so it’s reusable, and the link has graceful degradation for anyone who’s disabled JavaScript.