Francis Hemsher:
> Why even consider eventListener when XML already has adequate 
> methods to handle the event attribute for an SVG element. Please!, 
> Show me something that the DOM, excluding the redundancy of 
> eventListener, cannot handle.

Two things that come to mind:

  - You can use addEventListener more than once to have multiple
    event listeners on a node, whereas in an onXXX attribute you
    can define only one.

  - You can add capturing event listeners with addEventListener,
    but the onXXX attributes define only non-capturing event listeners.

Cameron

-- 
  e-mail : cam (at) mcc.id.au           icq : 26955922
     web : http://mcc.id.au/            msn : cam-msn (at) aka.mcc.id.au
  office : +61399055779              jabber : heycam (at) jabber.org


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to