This is a generic extendable Javascript tree library. JavaScript Source
MouseOver:
Click:
The Tree class is a subclass of UL, the constructor receives two optional parameters:
The TreeNode class is a subclass of LI, the constructor receives two parameters:
The example above demonstrates some augmentation: