« Back to code index... | Contact me regarding this code...

Super-Simple DHTML Tree

This is a demonstration of a very simple implementation of an expandable tree.

Changes on December 29, 2003: Renamed ToggleSelection to toggleNode. Added showNode which will expose open a particular node given a reference to the object. Example: show Charlie.

Grade 1
Section 1.1
Albert Jones
Benjamin Franklin
Charles Brown
Linus
Charlie
Snoopy
Grade 2
Section 2.1
Albert Jones
Benjamin Franklin
Charles Brown
Daniel Douglas
Edward Caugher
Frank Thomas
Section 2.2
Albert Jones
Benjamin Franklin

Valid XHTML 1.1!