Smooth Scroll to Anchor Using jQuery | Web Development Services by Ed Nailor

Smooth Scroll to Anchor Using jQuery

Print Friendly

This simple script will allow for smooth scrolling to an anchor link within a page. Fairly easy to add. Just place it in the footer of your coded page and watch the magic happen. Its a very nice addition to make a site seem a bit more “professional.”

It does seem to have a couple items you can adjust, such as the time to take for scrolling. It is set at 900, and how quickly you get to the anchor really depends on how far down the page your anchor is.

So without further adieu, here is the script.  Enjoy!



Comments are closed.