logo ZZEE Free HTML TOC

© Copyright 2000-2001 ZZEE.  http://www.zzee.com

See license.txt for the license agreement. By using this software you accept all the terms of the license agreement.

Table of Contents

Of course, this TOC is created by the program itself :)


Table of Contents

Free HTML TOC features


Table of Contents

System requirements


Table of Contents

Installation and uninstallation

You can install it using setup wizard or manually. To install it using setup wizard, launch setup.exe after extracting the distribution. To install it manually, unpack the distribution to the target folder and rename "setup.exe" to "zfht.exe".

When setup is complete, use "ZZEE Free HTML TOC 1.0" link located in Start/Programs/ZZEE Free HTML TOC to launch the program.

Note users of Windows ME and XP: you need to extract distribution zip file prior to installation, do not run setup.exe from inside zip file.

Note users of Windows NT 4.0, 2000 and XP: you may need some administrative rights for the installation. If you can't install the software, ask your system administrator or log in under administrator account.

To uninstall the software, use Add/Remove Programs link from Control Panel or Uninstall link located in Start/Programs/ZZEE Free HTML TOC.


Table of Contents

Usage synopsis

The program inserts TOC right after <!-- toc --> tag, or if none found, after <body> tag, or if none found, before the first <H> tag, or if none found [:)], in the beginning of the file.

So if you have special place where to insert TOC, put there "<!-- toc -->" tag. All header tags prior to <!-- toc --> tag are excluded from TOC. Note that this tag is case insensitive. If you have more than one such tags in the file, the first of them is used.

To create a TOC, select a source file, optionally uncheck "Same as source" checkbox and specify destination file, and then hit "Create or remake TOC" button. When the process finishes, a pop-up message box comes up.


Table of Contents

How program creates TOC

Named and hyperlink anchors

If you already have a named anchor inside <h> tag, then program uses it. Example:

	<h1><a name="pet">Robot-pet interaction</a></h1>

Program leaves <h1> tag as is and creates this TOC entry:

	<li><a href="#pet" class="toc_item">Robot-pet interaction</a></li>

If you don't have a named anchor in <h> tag, program creates it. Example:

	<h1>Robot-pet interaction<h1>

Program modifies <h1> tag like follows:

	<h1><a name="zzee_link_6_1001933000" class="header_item">Robot-pet interaction</a></h1>

And creates this TOC entry:

	<li><a href="#zzee_link_6_1001933000" class="toc_item">Robot-pet interaction</a></li>

TOC tree

The tree is created based on relative relationship between two neighbor header tags. Example: if you had <H1> followed by <H3> and then by <H2> tags, then TOC generated would look like follows:

Where H3 and H2 tags go to the same level.

However if you had <H1> followed by <H2> and then by <H3> tags, then TOC generated would look like follows:

Style and formatting

To enable proper formatting, program inserts "class" attributes into both named and hyperlink anchors generated. You can use CSS to provide font, color and other style attributes to these tags. The classes are "header_item" and toc_item" respectively. Example of "class" attributes inserted:

	<h1><a name="zzee_link_6_1001933000" class="header_item">Robot-pet interaction</a></h1>
	<li><a href="#zzee_link_6_1001933000" class="toc_item">Robot-pet interaction</a></li>

Table of Contents

Advanced HTML TOC

If you feel that you need more control over TOC generated, multiple file TOC creation or more options available, you need Advanced HTML TOC. It features the following:

Advanced HTML TOC home page