I've just put up a new script on my site:
This script combines javascript and some tricky CSS to create the
easiest-to-implement expandable/collapsable tree I've seen anywhere.
Just define your tree structure in an <UL> list, set its CSS class,
include the .js source file, and that's it! Newer browsers will see it
as a fully-functional tree, and older browsers will see the plain
unordered list.
You don't have to touch a single javascript command (other than the
include!) to make a fully-functional tree in your page.
Oh, and don't worry, it's free ;)
The concept is based on work of others, as listed on the page above.
Hats off to them for doing a lot of the dirty proof-of-concept work!
Comments welcome, here or in email!
Matt Kruse
The Javascript Toolbox: http://www.mattkruse.com/javascript/
This script combines javascript and some tricky CSS to create the
easiest-to-implement expandable/collapsable tree I've seen anywhere.
Just define your tree structure in an <UL> list, set its CSS class,
include the .js source file, and that's it! Newer browsers will see it
as a fully-functional tree, and older browsers will see the plain
unordered list.
You don't have to touch a single javascript command (other than the
include!) to make a fully-functional tree in your page.
Oh, and don't worry, it's free ;)
The concept is based on work of others, as listed on the page above.
Hats off to them for doing a lot of the dirty proof-of-concept work!
Comments welcome, here or in email!
Matt Kruse
The Javascript Toolbox: http://www.mattkruse.com/javascript/
Comment