Here's a tree control that uses semantic HTML, unobtrusive JavaScript, and is easily reusable in a bundle of applications.
Here's the first of what will hopefully be a bunch of code that we donate to the web at large. I made this a few months ago, but it's been serving me well.
There are a lot of tree controls out there, but most of them are tacky, heavyweight relics of the"DHTML" era. I felt it was time for a change. In particular, I wanted to adopt "unobtrusive javascript" techniques. Among other things, the script has these notable features:
Go here for demo, instructions, and a bit of information about how I put it together.
If you've got comments, requests, suggestions, etc, email me on sam@silverstripe.com.
1 Comments Tags: tree control
Looking for our Open Source Software? Then head to SilverStripe.org.
Comments on this website? Please give feedback.