cuppaTOC3 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="cuppatoc3_try.class" archive="cuppatoc3_try.jar" width="180" height="300" codebase="../java/cuppatoc3"> |
This required applet tag specifies the main class file, cuppatoc3_try.class. However, the applet also uses another class file, cuppatoc3_tryRec.class. The archive attribute is optional and specifies a jar file containing the class files, cuppatoc3_try.class and cuppatoc3_tryRec.class. The jar file enables faster downloading of the applet class files. The codebase attribute is optional and is used when the class files and the jar file are placed in a different directory than the html files that display the applet. |
<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", "#ffcc66" 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. The size of the image must be equal to or more than the applet area. |
<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", "#ff0000" 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", "#000000" 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", "#0000ff" 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 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="FolderOpenIconIndent" value="0"> <param name="FolderCloseIconIndent" value="3"> <param name="DocIconIndent" value="3"> |
Use these params to adjust the icon indents. |
<param name="ISCOMPACT" value="yes"> |
Specifies whether the applet should work in compact mode (yes) or conventional tree mode (no). In the compact mode, the applet closes all folders except the one clicked. If this param is not specified, the applet works in compact mode. |
<param name="AUTHORINFO" value="Copyright (c) 1998-2001 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;cuppatoc3info.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.
|
Home | Applethome