This is a structure for presenting tree-based hierarchies via HTML. It is designed to deal with large trees while maintaining fault-tolerance and standards compliance.
ul
structurePOST
requests to change the state of the tree (maintaining HTTP/1.1 idempotence)index.php
: this filetreemenu.css
: basic style to show a ul
as a treefile_tree.css
: style adding file and folder icons to the treefile_tree.ie.css
: style correcting IE's display differencesPOST
requests are replaced with GET
s accessing a REST serviceul
structure remains unchanged (children are hidden using position: relative
and overflow: hidden
rest_filelist.php
: filelist service
400 - missing parameter.php
: if path
is not set403 - forbidden.php
: if a descending path (..
) is specified406 - not acceptable.php
: if text/xml
is not acceptablecompatability.js
: IE compatability librarytreemenu.js
: treemaking codeNo javascript has been run yet in this page. All of the state information is being managed via cookies.
Make DHTML Tree