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

2008-12-04 Thread julie gautier
Ok, I get it. Thanks for you response. De : ddailey [EMAIL PROTECTED] À : svg-developers@yahoogroups.com Envoyé le : Mercredi, 3 Décembre 2008, 22h37mn 31s Objet : Re: [svg-developers] onmousedown() and onclick() at the same time Hi Julie, I think what

[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

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

2008-12-03 Thread Dailey, David P.
-developers] onmousedown() and onclick() at the same time 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

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

2008-12-03 Thread julie gautier
, 18h29mn 48s Objet : RE: [svg-developers] onmousedown() and onclick() at the same time 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

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

2008-12-03 Thread julie gautier
. De : Dailey, David P. [EMAIL PROTECTED] À : svg-developers@yahoogroups.com Envoyé le : Mercredi, 3 Décembre 2008, 18h29mn 48s Objet : RE: [svg-developers] onmousedown() and onclick() at the same time Take a look at the following; it lets different events on parts

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

2008-12-03 Thread ddailey
:23 PM Subject: Re : [svg-developers] onmousedown() and onclick() at the same time 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