Hi,
Thanks for the suggestion but it doesn't work : with FF3, I have an xml parse 
error (on the "&&") and a javascript error in IE7 (ASV3) : "incorrect form" at 
the same place.
It finally works in both FF3 and ASV3 with the following : "if (window.Event) 
evt.preventDefault();"
Julie




________________________________
De : Robert Longson <[email protected]>
À : [email protected]
Envoyé le : Mardi, 23 Décembre 2008, 10h54mn 59s
Objet : Re : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)


--- In svg-developers@ yahoogroups. com, julie gautier
<juliegautier@ ...> wrote:
>
> Using "xlink:href= 'javascript: evt.preventDefau lt( );'"  (I hope
this is the good way to do it) works both in ASV3 and FF3 (the action
is executed and I have the hand cursor)... but with a javascript error
in ASV3 : "'evt' a la valeur Null ou n'est pas un objet" which means
"'evt' is Null or not an object". 
> Any idea to avoid this error ?

how about

if (evt && evt.preventDefault) evt.preventDefault( );

Best regards

Robert

 


      

[Non-text portions of this message have been removed]


------------------------------------

-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> 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