![]() |
Documentación GVHIDRA 3.1.5
|
HTML_TreeMenu Class
A simple couple of PHP classes and some not so simple Jabbascript which produces a tree menu. In IE this menu is dynamic, with branches being collapsable. In IE5+ the status of the collapsed/open branches persists across page refreshes.In any other browser the tree is static. Code is based on work of Harald Radi.
Usage.
After installing the package, copy the example php script to your servers document root. Also place the TreeMenu.js and the images folder in the same place. Running the script should then produce the tree.
Thanks go to Chip Chapin (http://www.chipchapin.com) for many excellent ideas and improvements.
HTML_TreeNode class
This class is supplementary to the above and provides a way to add nodes to the tree. A node can have other nodes added to it.