CreatorAndrew Robertson
Written20070829
Revised20071007
LicenseLGPL 2
CopyrightAndrew Robertson 2007

This document and the embedded javascript demonstrate dynamic section numbers with per section classes. The spans increment per call depending on class. A tag like <span class="major">Entry</span> would create a new label which will look like 1 Entry A following tag like <span class="major">Entry</span> would look like 2 Entry . A following tag like <span class="minor">Entry</span> would look like 2.1 Entry . Currently supported span classes are major, minor, micro, nano, minord (increment second digit but display three), and microd (print four numbers). The class use also determines the style.

If a SPAN is included with the class name "TOC", a table of contents will be added to it. If any of the minor or major sections have an id, that will be used as a name for that section allowing you to hyperlink to that section, including from a table of contents. EG: <ul><span class="TOC"><h2>Table of Contents</h2></span></ul> and <span class="minor" id="Help">Help Section</span>

Before Spot

Nothing
Text can be put between entries.
Nothing
Configuring the system

Need to put lots of stand alone text here in order to have some white space to show off the instant index.

Setting up crap
Setting up more crap
Using the system
Logging in
Logging Out
Super Query
Destroying the system
Destroying the system
Destroying the system

After Spot

Need even more space and stand alone text here so that parent hyperlinks in menu work.

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

More space

Hosted by www.Geocities.ws

1