|
Script Summary:
Generates a table of contents from the headings present in a FlexWiki page |
This script has no discussions. |
This script has no reviews. |
The script is very simple. It simply finds every H1, H2 and H3 element and adds an anchor to it, then creates a list of links to those anchors that is inserted on the beginning of the document.
The script can easily adapted for another use. The variable root contains the element on which the headings are searched. The list of links is added to that element.





