: Non-static method HtmlUtils::formatText() should not be called statically, assuming $this from incompatible context in /home/script/public_html/_dir/theme/tag.tpl.php
on line 44
Christian Heilmann does a tree menu without using loops. It demonstrates the flexibility and power of Event delegation - catching events at a higher level in the document. It drastically cuts down on the number of events you need to add to a document. One event handler per menu, rather than one per link in the menu.