cuppaTOC2 Applet Params 

Use the following set of params when the folder and doc item pointers are graphic symbols. When the folder and doc item pointers are icon images, use the params described in the next page.
 
<applet code="cuppatoc2_try.class" archive="cuppatoc2_try.jar" width="180" height="300">
The archive tag is required for IE5+ users and specifies a jar file containing the class files, cuppatoc2_try.class and cuppatoc2_tryRec.class.
 
<param name="BGCOLOR" value="ffcc66">
This option specifies a background color for the applet. The value must be an hexadecimal one. Values like "white", "red" etc. must not be used. This param is ignored when the BGIMAGE option is specified.
 
<param name="BGIMAGE" value="BGIMG.GIF">
This option specifies a background image for the applet. This value is case-sensitive.
 
<param name="SYMBOLCOLOR" value="ff0000">
This option specifies a color for the 'folder tria' and the 'doc' symbols . The value must be an hexadecimal one. Values like "white", "red" etc. should not be used. This value is ignored when the FolderOpenIcon and the FolderCloseIcon values are specified.
 
<param name="TEXTCOLOR" value="000000">
This option specifies a color for the content item. The value must be an hexadecimal one. Values like "white", "red" etc. should not be used. 
 
<param name="HIGHLIGHTCOLOR" value="0000ff">
This option specifies a mouseover highlight color for the content item. The value must be an hexadecimal one. Values like "white", "red" etc. should not be used. 
 
<param name="FONTPOINTSIZE" value="14">
Specifies a font size for the content item. Both folder and doc items are drawn with the same font size. Suggested values are 12 and 14.  Must be an integer.
 
<param name="FONT1NAME" value="Helvetica"> 
<param name="FONT2NAME" value="Helvetica">
Specifies a font names for the folder and doc items, respectively. Font name must be one of "Helvetica", "TimesRoman", "Courier", "Dialog" or "DialogInput".
 
 
<param name="FONT1STYLE" value="bold"> 
<param name="FONT2STYLE" value="plain">
Specifies a font styles for the folder and doc items, respectively. Font style must be one of "plain", "italic", "bold" or "bold-italic".
 
<param name="SPACING1" value=3>
Controls the vertival spacing between the content items. Must be an integer.
 
<param name="SPACING2" value=2>
Specifies the vertival spacing for a content item that is to be displayed in two lines. Must be an integer.
 
<param name="TEXTINDENT" value="28">
Specifies a horizontal offset for the content item. This option helps to control the horizontal spacing between the symbol and the content item. Must be an integer.
 
<param name="AUTHORINFO" value="Copyright (c) 1998, 1999 
Nalla Senthilnathan, nrsenthil.tripod.com">
Do not delete or edit this param. This is just an acknowledgement.
 
<param name="TOCDATA" value=" 
1;Applet Info; right_frame;cuppatoc2info.html| 
1;Chapter 1; 0;0| 
 2;Introduction; right_frame;c1introdoc.html| 
 2;Section 1.1; 0;0| 
  3;Section 1.1.1; 0;0| 
   4;Section 1.1.1.1;right_frame;s1111doc.html| 
   4;Section 1.1.1.2;right_frame;s1112doc.html| 
   4;Section 1.1.1.3;right_frame;s1113doc.html| 
 2;Section 1.2; 0;0| 
  3;Section 1.2.1; 0;0| 
   4;Section 1.2.1.1;right_frame;s1211doc.html| 
   4;Section 1.2.1.2;right_frame;s1212doc.html| 
1;Site Index; _top;../index.html">
This param specifies the data for the applet. Each content item is specified by four fields separated by a semicolon. 
  • The first field is a number and it refers to the hierarchy level of the tree. The tail gets a number that is one greater than its head. 
  • The second field is the content item string. Use a comma to display the content item in two lines.
  • The third field refers to the targetframe name. The targetframe name can be any user-defined name or one of "_top", "_blank", "_self" or "_parent". Specify a 0 (zero) for the folder item.
  • The fourth field refers to the URL for the document. This can be either relative or fully qualified. For example, this value can be specified as test.html, ../test.html, or http://<domain>/test.html. Specify a 0 (zero) for the folder item.
Each content item is separated from the other with '|' character. The indentations shown above is just to illustrate the tree hierarchy.
 
 
Home | Applethome