Module page https://www.drupal.org/project/toc_js Tags Content Recommended Yes Render a table of contents via jQuery plugin. Specify selectors for content headers, and the element to search within. One small caveat I ran into is that this doesn't work for print or pdf links.