Re: [svg-developers] Re: Firefox2 vs Firefox3 (code)
Hi, Samy- Samuel Dagan wrote (on 12/16/08 3:27 PM): > > Just by a superficial look on your code, you better change: > fill = symbole.getAttribute("fill"); > with : > fill = symbole.getAttributeNS(null,"fill"); > (Look at http://jwatt.org/svg/authoring/ ) > > Hope that this will do the job. Having been guilty of propagating this myth myself, I have to state that this is not at all important, and is not the cause of any error. If you aren't using namespaces (like XLink), you don't need to use getAttributeNS... getAttribute works just as well with the null namespace, so the code is correct as it stands. Julie, I would recommend that you strip down the code to a minimal test case that demonstrates exactly what the error is. You can you the Firefox error console, or a debugging extension, to figure out where that is. Regards- -Doug - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
Hi all, Thanks for your responses. I tried to find out what's going on and it seems that the problem comes from the call of the javascript function "inverser" from the "use" element ( doesn't work neither). If I call the function by clicking on the circles () it works ! Does someone have an idea ? Thanks again for your help. Julie De : Doug Schepers À : svg-developers@yahoogroups.com Envoyé le : Mardi, 16 Décembre 2008, 21h36mn 28s Objet : Re: [svg-developers] Re: Firefox2 vs Firefox3 (code) Hi, Samy- Samuel Dagan wrote (on 12/16/08 3:27 PM): > > Just by a superficial look on your code, you better change: > fill = symbole.getAttribut e("fill") ; > with : > fill = symbole.getAttribut eNS(null, "fill"); > (Look at http://jwatt. org/svg/authorin g/ ) > > Hope that this will do the job. Having been guilty of propagating this myth myself, I have to state that this is not at all important, and is not the cause of any error. If you aren't using namespaces (like XLink), you don't need to use getAttributeNS. .. getAttribute works just as well with the null namespace, so the code is correct as it stands. Julie, I would recommend that you strip down the code to a minimal test case that demonstrates exactly what the error is. You can you the Firefox error console, or a debugging extension, to figure out where that is. Regards- -Doug [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
> In FF3 you can define the cursor using CSS although I have a feeling > that the Adobe plug in does not support that. Correct. ASV3 doesn't support the "cursor" property. ASV6 (last public beta) does support that, although it's not very deployed and is a bit more unstable than its predecessor. Cheers, Helder - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
--- In svg-developers@yahoogroups.com, julie gautier wrote: > > Does anyone know how to display the hand cursor (in FF3 and IE7) without using the tag ? In FF3 you can define the cursor using CSS although I have a feeling that the Adobe plug in does not support that. Alternatively you could try something like xlink:href="#" Best regards Robert - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
Hi again, I found out what the problem was : the that surrounded the checkbox : I used this workaround to have a hand cursor, including with IE7. In FF3, the xlink:href just reloads the page. Does anyone know how to display the hand cursor (in FF3 and IE7) without using the tag ? Thanks. Julie De : julie gautier À : svg-developers@yahoogroups.com Envoyé le : Mercredi, 17 Décembre 2008, 8h49mn 27s Objet : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code) Hi all, Thanks for your responses. I tried to find out what's going on and it seems that the problem comes from the call of the javascript function "inverser" from the "use" element ( doesn't work neither). If I call the function by clicking on the circles () it works ! Does someone have an idea ? Thanks again for your help. Julie _ _ __ De : Doug Schepers À : svg-developers@ yahoogroups. com Envoyé le : Mardi, 16 Décembre 2008, 21h36mn 28s Objet : Re: [svg-developers] Re: Firefox2 vs Firefox3 (code) Hi, Samy- Samuel Dagan wrote (on 12/16/08 3:27 PM): > > Just by a superficial look on your code, you better change: > fill = symbole.getAttribut e("fill") ; > with : > fill = symbole.getAttribut eNS(null, "fill"); > (Look at http://jwatt. org/svg/authorin g/ ) > > Hope that this will do the job. Having been guilty of propagating this myth myself, I have to state that this is not at all important, and is not the cause of any error. If you aren't using namespaces (like XLink), you don't need to use getAttributeNS. .. getAttribute works just as well with the null namespace, so the code is correct as it stands. Julie, I would recommend that you strip down the code to a minimal test case that demonstrates exactly what the error is. You can you the Firefox error console, or a debugging extension, to figure out where that is. Regards- -Doug [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
I didn't see this was solved already when I wrote my last message, because this is spread out over four different threads now. Apparently the list doesn't recognize a message belongs to the same topic if the 'Re:' comes before '[svg-developers]' in the subject line. However. Instead of using the cursor property, which doesn't work in ASV3, you could call evt.preventDefault(); in your event handler. This should keep the link from being opened. I don't know for sure if this is supported in ASV3 though. Regards Frank --- In svg-developers@yahoogroups.com, julie gautier wrote: > > Hi again, > I found out what the problem was : the that surrounded the checkbox : I used this workaround to have a hand cursor, including with IE7. In FF3, the xlink:href just reloads the page. > Does anyone know how to display the hand cursor (in FF3 and IE7) without using the tag ? > Thanks. > Julie > > > - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
Hi Julie, Sorry for the delay, but the use of the same "subject" for different subjects is misleading. I have the solution for the cursor. Look on the message number 60714. Good luck! --- In svg-developers@yahoogroups.com, julie gautier wrote: > > Hi again, .. > Does anyone know how to display the hand cursor (in FF3 and IE7) without using the tag ? > Thanks. > Julie > - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
On Wed, 17 Dec 2008 11:50:51 +0100, julie gautier wrote: > Hi again, > I found out what the problem was : the that surrounded the > checkbox : I used this workaround to have a hand cursor, including with IE7. > In FF3, the xlink:href just reloads the page. > Does anyone know how to display the hand cursor (in FF3 and IE7) without > using the tag ? > Thanks. > Julie If the link isn't really a link then the proper way would be to use the 'cursor' property[1], e.g cursor="pointer". Cheers /Erik [1] http://www.w3.org/TR/SVG11/interact.html#CursorProperty -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
Thanks. I will try it. De : Frank Bruder À : svg-developers@yahoogroups.com Envoyé le : Vendredi, 19 Décembre 2008, 8h35mn 28s Objet : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code) I didn't see this was solved already when I wrote my last message, because this is spread out over four different threads now. Apparently the list doesn't recognize a message belongs to the same topic if the 'Re:' comes before '[svg-developers] ' in the subject line. However. Instead of using the cursor property, which doesn't work in ASV3, you could call evt.preventDefault( ); in your event handler. This should keep the link from being opened. I don't know for sure if this is supported in ASV3 though. Regards Frank --- In svg-developers@ yahoogroups. com, julie gautier wrote: > > Hi again, > I found out what the problem was : the that surrounded the checkbox : I used this workaround to have a hand cursor, including with IE7. In FF3, the xlink:href just reloads the page. > Does anyone know how to display the hand cursor (in FF3 and IE7) without using the tag ? > Thanks. > Julie > > > [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
Using "xlink:href='javascript:evt.preventDefault( );'" (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 ? Thanks. Julie De : Frank Bruder À : svg-developers@yahoogroups.com Envoyé le : Vendredi, 19 Décembre 2008, 8h35mn 28s Objet : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code) I didn't see this was solved already when I wrote my last message, because this is spread out over four different threads now. Apparently the list doesn't recognize a message belongs to the same topic if the 'Re:' comes before '[svg-developers] ' in the subject line. However. Instead of using the cursor property, which doesn't work in ASV3, you could call evt.preventDefault( ); in your event handler. This should keep the link from being opened. I don't know for sure if this is supported in ASV3 though. Regards Frank --- In svg-developers@ yahoogroups. com, julie gautier wrote: > > Hi again, > I found out what the problem was : the that surrounded the checkbox : I used this workaround to have a hand cursor, including with IE7. In FF3, the xlink:href just reloads the page. > Does anyone know how to display the hand cursor (in FF3 and IE7) without using the tag ? > Thanks. > Julie > > > [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
--- In svg-developers@yahoogroups.com, julie gautier wrote: > > Using "xlink:href='javascript:evt.preventDefault( );'" (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 - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
As you say, it works like a charm ! Thanks a lot. Julie De : Samuel Dagan À : svg-developers@yahoogroups.com Envoyé le : Mercredi, 24 Décembre 2008, 10h36mn 33s Objet : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code) Hi Julie, Sorry for the delay, but the use of the same "subject" for different subjects is misleading. I have the solution for the cursor. Look on the message number 60714. Good luck! --- In svg-developers@ yahoogroups. com, julie gautier wrote: > > Hi again, .. > Does anyone know how to display the hand cursor (in FF3 and IE7) without using the tag ? > Thanks. > Julie > [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
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 À : svg-developers@yahoogroups.com 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 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: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re : Re : Re : Re : [svg-developers] Re: Firefox2 vs Firefox3 (code)
--- In svg-developers@yahoogroups.com, julie gautier wrote: > > 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 I was assuming you put your scripts in a CDATA section, if not you'll need to escape & as & in xml. Best regards Robert - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/