MagicNav-js is a jQuery Plugin for generating nav links from page elements.For example, generate links to all the articles on a page by linking to the article’s h1’s, and put them in a nav element on the page with an id of article-nav. (By default, the links will use the same text as the h1).
var magicNav = $.MagicNav($('#article-nav'),$('article h1'));
There are a few options available when initializing the plugin:
Created by John Polacek
© 2013 jquer.in
Curated By Jay Kanakiya