The CSS Ninja has published an awesome tutorial for creating a pure-CSS collapsible tree menu.
Prior to this, earlier menus like this relied on JavaScript.
If there are already JavaScript versions of this, why create one with CSS? First and foremost, a CSS-only solution solves browser compatibility issues (in most cases).
Try including Selectivizr to make it run even on IE6+!










