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.


  1. Darn fine Jake!

    I like the type-ahead feature.

    An article on that feature alone would be well worth the read.

  2. Jake,

    Great job on this. How difficult would it be to add an Expand-all/Collapse-all to this ?

    5 year brain tumor survivor

    • avatar
    • Jake Howlett
    • Mon 9 Jun 2008 12:06 PM

    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...


Your Comments


About This Page

Written by Jake Howlett on Wed 4 Jun 2008

Share This Page

# ( ) '


The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social

About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

More Content