That's pretty cool.  I imagine it with a flippy triangle UI.

Ryan Florence

[Introducing MooDocs - become a better developer]( http://blog.flobro.com/ )



On Nov 28, 2009, at 1:34 AM, אריה גלזר wrote:

i've developed this mootools class to add an accordion effect to a tree-structure scenario.
the example is here.
i've uploaded it to github here.
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

Reply via email to