tocBuilder, a jQuery Table of Contents plugin

by Rob Kent

A flexible jQuery plugin that creates a table of contents based on headings in the document. You can use either standard headings or any elements with the class 'tocEntry'. You can choose the heading range to process, for example 2-4, and provide a callback to parse and modify the heading text used in the contents link. Back links from the headings to the table of contents are supported by default. All elements can be styled using CSS classes and sample CSS is provided.


Versions

Version Date
1.2.2 Jun 4 2013