jQuery Elixon TOC is easy-to-use jQuery plugin that automatically generates Table Of Contents from the HTML page. It automatically tracks window scrolling and highlights currently viewed chapters.
Highlights
You don't need to write a single line of javascript.
12 templates included.
Bootstrap 3 support.
Automatic TOC item highlighting based on what capter is being viewed.
Smooth scrolling.
TOC can be generated even from non-header elements.
Custom label callback filter.
and more...