Toc.js is a tiny and simple-to-use jQuery plugin that automatically generates a table of contents for all of the headings elements within a specified container.