Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 575 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 575 Bytes

Smooth Scroller, a jQuery plugin.

This plugin allows for a smooth auto scroll to each different section of a single page webpage after clicking on it's corresponding navigation link.

Important

  1. Each navigation link's href must point to the ID of each corresponding content div or element.
  2. jQuery script files must be inserted before plugin script files either in head if using document.ready() function or end of the body section.
  3. Include the following file using a script tag: jquery.smooth-scroller.js
  4. Call the plugin using: $(document).smoothScroll();