The Node Parameter

Each node on the tree must be specified by a node parameter. Node parameters can be supplied to the tree applet in one of two ways,

i) Html PARAM tags or
ii) In a text file

Html Param Tags
If the node values are to be supplied using the param tags, the tag names must be as follows,

<param name="node1" value="node value">
<param name="node2" value="node value">
<param name="node3" value="node value">
<param name="node4" value="node value">
<param name="node5" value="node value">
<param name="node6" value="node value">
etc

The applet will recognise the end of the sequence when it fails to read the next nodeN parameter. Therefore it is vital that there are no breaks within the numbering sequence. The numbering sequence should start at 1 and therefore the first node parameter should be "node1".

In a Text file
If the node parameters are to be supplied within a text file then the following parameter must be specified,
<param name="Nodedata" value=" [ file url ] ">
where [ file url ] is the url to the file containing the node data.

If the "Nodedata" parameter is not present then the applet will assume the node data is being supplied via html PARAM's.

Comment Lines
Within the node data file comment lines may be added by beginning the line with "<!--". Any line beginning with "<!--" will be ignored by the tree applet.

In both methods the node parameter comprises of the following sixteen elements,
( click on each element description for further details )

Node ID - Unique ID for this node.
Parent ID - Node ID of this node's parent.
Node Text - Text to be displayed for this node.
Font Face - Font face of this nodes text.
Font Type - Font type of this nodes text.
Font Size - Font size of this nodes text.
Red Color Value - Text Color, red value.
Green Color Value - Text Color, green value.
Blue Color Value - Text Color, blue value.
Expanded Flag - Specifies whether this node should be expanded on startup..
Normal Node Image - Node icon to be displayed in non-expanded state.
Expanded Node Image - Node icon to be displayed in expanded state.
Mouseover Node Image - Node icon to be displayed in mouseover state.
Url - Url of the web page to display upon mouse click..
Target Frame - Frame or Window name in which to display the url upon mouse click.
Status Bar Text - Text to display in the status bar upon mouseover.

For the optional parameters default values are assumed in their absence.