Hi Jörn, This plugin looks great. Very flexible. I love the example showing that it can be used for a navigation list too.
I noticed that when text is scaled up in the browser, the containing boxes do not expand to accommodate the larger content. Would this be troublesome to fix? My lame guess is that the height needs to be set to auto at some stage of the animation, or will this cause a flicker problem maybe? I have been keeping an eye on accordion implementations for a while and it always seems to be the "one-size-only" thing that turns me off them. If this could be fixed it would make the plugin even more versatile. Thanks for your hard work. Joel. On 09/11/2006, at 1:28 AM, Jörn Zaefferer wrote: > 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/ > > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
