JavaScript document map

JavaScript code to generate a document map/table of contents from the document structure. NB – Sorry I need to update this to get the examples working in WordPress This page generates the following document map: [jscript]

You’ll want a […]