Smooth Scroll

This code combination allows you to create a simple, smooth scrolling effect on your page like this:


First, you add this to your CSS stylesheet:

Second, you add this JavaScript code to the head of your document:

You can use page anchors to get the action to move. For more info on page anchors, check out this page.