2006/10/26, "Jörn Zaefferer" <[EMAIL PROTECTED]>:
> Hi folks,
>

Hi, Jörn,

> I just commited a few changes to jQuery's event system. I fixed the target 
> property of the event.target for both IE and Safari, and modified bind: It 
> now accepts an optional third parameter that specifies the number of times 
> the handler has to executed. When that amount is reached, it removes the 
> handler. All onexxx events like oneclick now use that option and potentiolly 
> provide better performance.
>

Good job! (Jörn is back!!!)

> I updated the accordion plugin to demonstrate and test these changes:
> http://joern.jquery.com/accordion/accordion.html
>

Your version relies on the way the menu is described. In extenso, it
must be a definition list. Couldn't it be more "independant"? Is that
about semantic?

Here is the lastest version of the manner I did it:
http://fmarcia.com/projets/jquery/accordion
(click on "ici" to see the source code).

I stayed with the rationale to set it not chainable, contrary to yours
(but I'm not very sure about it... :-p )

Cheers,

Franck.

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to