Hi jQueryians,

just improved and commited the jQuery accordion plugin, or rather "Accordion 
widget". Whatever you like to call it, it's quite neat and very flexible.

A little demo is here: http://joern.jquery.com/accordion/accordion.html

Feel free to grab the source from SVN and improve it, or just post something 
here.

One thing that I want to fix is the disability of not() to accept a jQuery 
expression. It seems like it only works if I pass a DOM element. But that is a 
problem of the jQuery core: If I (or someone else) gets that solved, the 
Accordion code and usage get a little easier.

@Klaus: I think the only feature that this accordion has not is an automatic 
adding and removing of classes. It's not hard to add that, but currently I just 
don't know where those classes should be added. Only to the header element?

--
Jörn Zaefferer

http://bassistance.de
-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to