Wednesday, March 21 in 2018
Module Frontpage Slideshow
Pageviews 5,308
Currently online: 6
NewsQuote << Content


Creates a Table of Contents from Headings (h1 - h6)

Suggested Name:


Droplet Code:

Parameters required:


Parameters optional:


Example Call:


Create a Table of Contents by extracting all headings from a page
Let the Toc float right


Number the menu entries

You may style the Toc by CSS class "toc".


Please note: If your template contains "hardcoded" headings, they will appear in the Toc, too. So you may have to replace hardcoded headings with some other markup.


If you have Droplets v1.5 or higher, you can import the droplet instead of pasting the code into the form. Download here.

Submitted By: WebBird

NewsQuote << Content