A jQuery plugin that creates a table of contents for all header elements within the parent DOM element provided. (Based on original jqPageContent by Dimitri Spassov.)
By default, jqTOC produces a fixed, floating div box with the title "Content", in the top right of the browser window. When the box is clicked a new div will display a list of all H1, H2, H3 elements within scope of the parameter element. Each TOC element is a clickable link to the title in the document.
Start and end heading levels can be specified. All heading levels 1, 2, 3, is the default.
- Check out the demo TOC.
- Download the javascript and the CSS.
