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
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
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.
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
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
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
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;
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,
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);
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
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
11 matches
Mail list logo