cuppaTOC is a folder-based tree menu applet that can display a large number
of content lines in a compact browser space without the need for scroll bars.
Frames-based navigation with the option to specify the targetframe for each
content line is supported. The applet reads data from the applet tag .
- Please visit the index page to get the most recent version of this
- Single-click on the 'doc' line to display the document. Each
content line can have a targetframe name specified. For instance, clicking on
the "Table of Contents" line displays the page in the "right_frame" whereas
clicking on the "Conclusion" opens the document in the "_top" frame.
- Single-click on the 'folder' line to open/close. Note that when a folder
item is clicked only the contents of that folder is displayed. This feature
enables presenting a large number of content lines in a compact browser space
without the need for scroll bars.
- Colors for the background, font,
etc. can be modified through the applet params.
If you are
interested in testing this applet at your site, here is the zip file,
cuppatoc_try.zip (11K). This file can display
upto 49 content lines. The registered
version of the applet has no limits to the number of content lines.
The applet reads data from
the value of the applet tag param TOCDATA. Each content line data consists of
four semicolon separated fields. Example:
1; Applet Info; right_frame;cuppatocinfo.html
- The first field (1) corresponds to the hierarchy level of the
content line with the top level being 1, the next branch level being 2 etc.
- The second field (Applet Info) is the content string that
appears in the applet.
- The third field (right_frame) is
the targetframe name for the document corresponding to the content line. The
targetframe name can be any user defined name or any one of (_self, _parent,
_top, _blank). Specify 0 for the folder line.
- The fourth
field (cuppatocinfo.html) specifies the URL for the document. The
URL can be relative or fully qualified. The URL must be 0 for the folder
- The data for one content line is separated from that of the
other with the separator character '|'.