More DOM fun

More DOM fun

Thank you Zeldman for pointing to this script by kryogenix.org:

aqTree2: explorer-style trees from unordered lists. What it is: Below is an unordered list, which will be converted by the included JavaScript library into an explorer-tree structure if you’ve got a browser capable of doing it…

This way I’ll have spent my whole day thinking about ways for DOM manipulation to use standard html constructs in funky new way :-)

Oh, and by the way, the earlier example isn’t real code, so don’t go telling me how it should be using the GetElementByID method ok?