[svg-developers] onmousedown() and onclick() at the same time

2008-12-03 Thread jgfa92004
Hi, I have the following svg code : g onmousedown=down(evt); onmouseup=up(evt); circle onclick=alert('circle1') fill=black r=5 cx=5 cy=5/ circle onclick=alert('circle2') fill=black r=5 cx=0 cy=0/ /g My problème is that the onclick event is never called, apparently because of the

[svg-developers] Re: Report on SVG Viewer Performance

2008-12-03 Thread Helder Magalhães
At the moment, I'm running pure Linux, so IE is not a testable option. I probably need to get a VM up to test IE. Probably more modifications are required: for example, ASV and Renesis don't accept a method as setInterval/setTimeout argument - a string must be used instead... :-| Thanks for

[svg-developers] Re: SVG displaying acsents (French)

2008-12-03 Thread markelliott2000
I now know that this can be achieved as follows; !-- English messages -- text class=info lang=enVariable declared twice/text !-- French messages -- text class=info lang=frVariable déclarée deux fois/text Is there another way so that I don't have to work out which language the user has specified.

[svg-developers] Re: SVG displaying acsents (French)

2008-12-03 Thread Helder Magalhães
Does anybody know how to allow a text tag to allow french acsents, i.e text id=fg8H0 x=124.4 y=396.0 style=font-family:Arial; font-size:12.1; fill:#FF08:35:36 03-déc.-08/text This displays the éc. as a square. This is not directly related to SVG but to XML in general. Usually, you

[svg-developers] Re: onmousedown() and onclick() at the same time

2008-12-03 Thread jgfa92004
Hi, Thanks for the answer. No, I don't call the fonction stopPropagation. Here is a simpler example that doesn't work either : g onmousedown=alert('down'); onmouseup=alert('up'); circle onclick=alert('circle1') fill=black r=5 cx=5 cy=5/ circle onclick=alert('circle2') fill=black r=5 cx=0

Re: [svg-developers] Re: Report on SVG Viewer Performance

2008-12-03 Thread G. Wade Johnson
On Wed, 03 Dec 2008 12:04:06 - Helder Magalhães [EMAIL PROTECTED] wrote: At the moment, I'm running pure Linux, so IE is not a testable option. I probably need to get a VM up to test IE. Probably more modifications are required: for example, ASV and Renesis don't accept a method as

RE: [svg-developers] onmousedown() and onclick() at the same time

2008-12-03 Thread Dailey, David P.
Take a look at the following; it lets different events on parts of the group be registered and responded to. Hope it helps David svg xmlns=http://www.w3.org/2000/svg; width=100% xmlns:xlink=http://www.w3.org/1999/xlink; script![CDATA[ xmlns=http://www.w3.org/2000/svg;

Re : [svg-developers] onmousedown() and onclick() at the same time

2008-12-03 Thread julie gautier
Yes, thanks a lot, it will help but is this the only way to achieve this ? So it's not possible at all to fire those 2 events at the same time ? De : Dailey, David P. [EMAIL PROTECTED] À : svg-developers@yahoogroups.com Envoyé le : Mercredi, 3 Décembre 2008,

Re : [svg-developers] onmousedown() and onclick() at the same time

2008-12-03 Thread julie gautier
Hi, There's something I really don't understant, if somebody could help me : in the javascript code David sent, if I add an alert in the 'all' function : if (evt.type==click){  alert(evt.target.nodeName); } else{  alert(evt.type);  

Re: [svg-developers] onmousedown() and onclick() at the same time

2008-12-03 Thread ddailey
Hi Julie, I think what is happening when you put an alert in the middle of it all is this: first the onmousedown is received, evt.type is then mousedown next an alert fires then to get rid of the alert the user has to move the mouse off of the group (which received the mousedown) so the click

[svg-developers] Re: Report on SVG Viewer Performance

2008-12-03 Thread Frank Bruder
Great work so far. Just three comments: - You identify your platform and the user agents you've tested, but since Batik is a Java application it would make sense to also state which JVM version was used. - Your testing method does not necessarily measure a relevant benchmark. A scripting engine