HTML_TreeMenu_DHTML HTML_TreeMenu_DHTML(
HTML_TreeMenu
&$structure, [array
$options = array()], [bool
$isDynamic = true])
|
|
Constructor
Takes the tree structure as an argument and an array of options which can consist of:
o images - The path to the images folder.
Defaults to "images"
o linkTarget - The target for the link.
Defaults to "_self"
o defaultClass - The default CSS class to apply to a node.
Default is none.
o usePersistence - Whether to use clientside persistence. This
persistence is achieved using cookies.
Default is true.
o noTopLevelImages - Whether to skip displaying the first level of
images if there is multiple top level branches.
o maxDepth - The maximum depth of indentation. Useful for
ensuring deeply nested trees don't go way off to
the right of your page etc.
Defaults to no limit.
o jsObjectName - Name to use for jabbascript object. Set this if
you have different menus that should maintain
their persistence information separately.
And also a boolean for whether the entire tree is dynamic or not. This overrides any perNode dynamic settings.
Parameters: