Jazzing Up The Hierarchy Demo
The response to the hierarchy demo from last week wasn't as resounding as I'd have liked. Hey ho. Maybe you want a bit more jazz? So I've added some DHTML and turned it in to a fancy tree you can expand/collapse. All that in less than a dozen lines of JavaScript (thanks to Prototype). Go see.
Darn fine Jake!
I like the type-ahead feature.
An article on that feature alone would be well worth the read.
Jake,
Great job on this. How difficult would it be to add an Expand-all/Collapse-all to this ?
5 year brain tumor survivor
Hi David,
It would be fairly "trivial". Should only take a few more lines of code that toggle the open/closed classes of all the ULs...
Jake