Make your own free website on Tripod.com

cabbageTOC2 Applet Params 

 
<applet code="cabbagetoc2_try.class" archive="cabbagetoc2_try.zip,cabbagetoc2_try.jar" width="180" height="300">
If applicable add a codebase option. To estimate the minimum height for the applet use the following formula: 
Let m be the maximum number of tails for a given head. Let n be the number of heads to be displayed for these tails. Then height=(m+n)*fontpointsize*1.5. This formula assumes that all content lines are displayed in one line.  If KEEPBUTTONS param value is set to "yes" then increase height by 50.
The archive tag is optional and specifies a zip or jar file containing the class files.
 
<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="KEEPBUTTONS" value="yes">
Set this to "no" if the search function is not required.
 
<param name="BASEY" value="50">
This option controls the vertical positioning of the applet from the top.
 
<param name="isPOPUP" value="no">
Set this to "yes" if the applet needs to be launched in an independent popup window. 
 
<param name="isPOPUP" value="no">
Set this to "yes" if the applet needs to be launched in an independent popup window. 
 
<param name="popupFRAMEWIDTH" value="250">
This param controls the frame width when the applet is launched in an independent frame.
 
<param name="popupFRAMEHEIGHT" value="500">
This param controls the frame height when the applet is launched in an independent frame. 
 
<param name="popupFRAMETITLE" value="Our Sitemap">
This param specifies a frame title when the applet is launched in an independent frame. 
 
<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. 
 
<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="ITEMHEIGHT" value="24">
This param controls the spacing between the content items. Itemheight must be more than fontpointsize.
 
<param name="FOLDERFONTNAME" value="Helvetica"> 
<param name="DOCFONTNAME" value="Helvetica">
Specifies font names for the folder and doc items, respectively. Font name must be one of "Helvetica", "TimesRoman", "Courier", "Dialog" or "DialogInput".
 
 
<param name="FOLDERFONTSTYLE" value="bold"> 
<param name="DOCFONTSTYLE" 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="AUTHORINFO" value="Copyright (c) 1998
Nalla Senthilnathan, nsenthil@hotmail.com">
Do not delete or edit this param. 
 
<param name="TOCDATA" value=" 
1;Applet Info; right_frame;cabbagetoc2info.html|
1;Table of Contents; right_frame;tocdoc.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;Chapter 2; 0;0|
 2;Introduction; right_frame;c2introdoc.html|
 2;Section 2.1;0;0|
  3;Section 2.1.1; right_frame;s211doc.html|
  3;Section 2.1.2; right_frame;s212doc.html|
1;Chapter 3; 0;0|
 2;Introduction; right_frame;c3introdoc.html|
 2;Section 3.1;0;0|
  3;Section 3.1.1; right_frame;s311doc.html|
  3;Section 3.1.2; right_frame;s312doc.html|
1;Conclusion; _top;conclusiondoc.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 top level starts at 1. 
  • The second field is the content item string. 
  • 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