This shows the entire tree built by add_node():
This demonstrates traversing the tree one node-level at a time. You can verify the traversal by the expanded output above:
Go to Root
This structure comes explicity from an actual directory tree:
Test using template defined in __DATA__ section of treeview.cgi (uses <blockquote> rather than <div>):
TreeviewFolder1Folder1Imagesonion.gif
DocumentsFolder2Folder1Folder2Folder1test.txt