There's some other good stuff in my code that optimizes things (I don't define defaults for options that are only used once; I use setTimeout to distinguish between synch and asynch calls). The only thing it *doesn't* do well is event delegation (because, honestly, I'm waiting to see delegation brought into the core). I was thinking about writing a delegate plugin while that's coming down the pike, but maybe you'd want to abstract your code from accordion and do so?
-- Yehuda
On 10/28/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
Yehuda Katz schrieb:
> Here is a *very* rough draft that tries to implement your requirements:
>
> [...]
>
> What do you think?
There is some good stuff there, eg. simply assigning the click callback
to the click event. Is there a reason you use obj["headCSS"] instead of
obj.headCSS?
I'll update my own implementation to work with more then only definition
lists...
--
Jörn Zaefferer
http://bassistance.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
