i've developed this mootools class to add an accordion effect to a
tree-structure scenario.
the example is here <http://tests.arieh.co.il/acord/demo.html>.
i've uploaded it to github here <http://github.com/arieh/MooTreeAcordion>.
i've tried to make it as much moo as possible, adding custom events and as
customizable as possible through classes and options, to allow dynamic
tree-structures.
this was actually much harder than i had anticipated, as the accordion is
made up of overflow:hidden elements, so each open/close action needs to
bubble up manually to all parents and then bubble down to the last-opened
branch. i've tried to test most scenarios to find bugs, but if you do i'll
be happy if you can tell me what you did to break it.
also, if you find better solutions for this i'll be glad to hear it
-----------
אריה גלזר
052-5348-561
5561