|
iconFormat string
This is the image format of the icons used by this node and can be either of two string values, "gif" or "png". You do not need to set this property manually for each node, unless you want to use a custom icon in a node using a different format than the format specified initially by the tree.
iid string
Unique internal id of node, is calculated automatically using the tree id and should not be set or changed manually. The format of the iid is: TreeName_ItemNo[_SubItemNo]* The following example assumes that the tree is named "myTree".
Tree Structure |
iid |
Item1 SubItem1 SubItem2 SubSubItem1 SubSubItem2 SubItem3 Item2 Item3 |
myTree_0 myTree_0_0 myTree_0_1 myTree_0_1_0 myTree_0_1_1 myTree_0_2 myTree_1 myTree_2 |
isExpanded boolean
Indicates whether this node (folder) is expanded (assuming this node has children).
isMouseOver boolean
Indicates whether the mouse is over this node.
isSelectable boolean
Indicates whether this node can be selected (clicked) or not.
isSelected boolean
Indicates whether this node is currently selected.
jscriptCommand string
A Javascript function to be called whenever this node is clicked.
leafIcon array(...3)
An array of up to 3 strings specifying the filenames of the icons for the normal, mouseover and selected states of this node respectively. These icons will be used if the node has no children.
leaves array(...)
An array of all the children nodes of this node (if any).
link string
Specifies the URL which will load when the user clicks on this node. Can be relative to the page hosting the tree control (e.g. "examples/example1.htm") or absolute (e.g. "http://www.likno.com).
nextLeaf LiknoTreeElement
Points to the next sibling of this node, or null if this is the last child.
parent LiknoTreeElement
Points to the parent node of this child.
prevLeaf LiknoTreeElement
Points to the previous sibling of this node, or null if this is the first child.
statusbarText string
Text to show on the browser status bar whenever user moves mouse over this node. Note: Some browsers disable changing the status bar text in script by default.
subtreeClosedIcon array(...3)
An array of up to 3 strings specifying the filenames of the closed subtree icons for the normal, mouseover and selected states respectively. These icons will be used if the node has children.
subtreeOpenIcon array(...3)
An array of up to 3 strings specifying the filenames of the open subtree icons for the normal, mouseover and selected states respectively. These icons will be used if the node has children.
target string
Specifies the name of the frame in which the URL specified by this node's link property will be loaded.
tooltip string
A tooltip to be shown whenever the user moves the mouse over this node.
vsbl boolean
Indicates whether this node is visible or not. The leaves of a closed folder have this set to false.
« |