This applet generates a searchable table of contents
based on the data provided in a text file.
Multi-level folders, and frames-based navigation with the option to specify
the target-frame for each content line are supported.
- If you are using Netscape Communicator and if you are not able to
view the applet in the left frame please try the hints in
Single-click on the folder to open/close.
Click on the "Reset" button to close all folders.
Single-click on any folder item to load the page
in the specified frame. The specification of which frame to load the page
for a given content line is defined in the text file.
The applet has a "Currently Browsing" feature through a change in color
of the content line.
The search is restricted only to the content line
strings and is case insensitive. Example: "doc3" (without the double-quotes).
The search function can also be turned off by setting the applet param
KEEPBUTTONS value to "no".
A demo of this feature can be seen here. Use the
"Home" key on the keyboard to reset the applet. Use the "End" key
to expand the TOC to display all the content lines.
The applet can also be launched in a popup window. A
demo of this feature can be seen here.
Colors for the background, font type, font style etc. can be modified
through the applet parametes. A demo of the applet with a smaller font
can be seen here.
A demo of the applet with a larger font
can be seen here. This
last example also illustrates the use of background image through the applet
If you are interested in testing the applet
locally, here is a
zip file (~21K) that
has all the files used in the examples mentioned above. These
files can be used to test upto 999 content lines with upto 4 tails per
head. The registered version has
no limit to the number of content lines.
The text file stocgen3_try.txt contains two
kinds of lines:
Lines that start with ids like n, nn etc are the
content lines. The first field of this line is the id, second field is
the content string and the third string is the name of the target-frame
to load the page. Note that the top-level folder has an id "n", first sub-folder
has an id "nn", second sub-folder has an id "nnn" etc.
Lines that start with "url". This line specifies
the url of the page for the content line that precedes this line. Specify
a zero-length string for the folder lines with one or more tails.
The order in which the lines appear in stocgen3_try.txt
corresponds to the applet with all the folders in open mode.