TOC is a jQuery plugin that will automatically generate a table of contents for your page. You can see an example of it on the left side of the page.
- Completely customizable
- Click to smooth scroll to that spot on the page
- Automatically highlight the current section
- Extremely lightweight (744 bytes gzipped)
- Can have multiple on a page