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
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
-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
, 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
.
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
: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
6 matches
Mail list logo