Trevor Davis’s newest plugin, creatively deemed “One Page Navigation Plugin“, offers a cool solution for single page navigation.
Basically, the plugin neatly scrolls to the section which the user chooses.
The section automatically updates to the current state if the user scrolls manually.
The markup is rather simple, and you can get a page with the One Page Navigation plugin up in no time.
Options are available, too: change the classname, add #hash links (for neat linking), and adjust the scroll speed.
Besides jQuery’s core, One Page Nav requires the ScrollTo library, too.
- Website: http://trevordavis.net/blog/jquery-one-page-navigation-plugin/
- Demo: http://trevordavis.net/play/jquery-one-page-nav/