Chaals,

I filed my first Opera bug, but can't say I'm enthralled as there  
doesn't appear to be a public means of bug searching, commenting or  
checking :-(

Very good chance this is just my poor coding as it's almost two years  
since I've done any serious SVG-scripting

bug 207421

is evt.Target.id supported?

http://www.peepo.co.uk/temp/evtcurrentTargetid.svg

1. open URI
2. mouseover circle

expect:

two alert dialogues
"Object   SVGGElement"          (evt.Target)
"symbol2"                                       (evt.Target.id)  Firefox1.5

get:

two alert dialogues
"Object   SVGGElement"          (evt.Target)
""                                              (evt.Target.id)


regards


Jonathan Chetwynd

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
   "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<svg xmlns="http://www.w3.org/2000/svg";
      xmlns:xlink="http://www.w3.org/1999/xlink";
width="100%" height="100%"
onload="init()"
 >
<defs>

<script type="text/ecmascript"><![CDATA[

function init() {
   // initialize event processing:

   var obj=document.getElementById("symbol2");
     obj.addEventListener('mouseover',mouseHandler,false);

   }

   function mouseHandler(evt){
mytarget=evt.currentTarget;
myId=evt.currentTarget.id;
alert(mytarget);
alert(myId);
}

]]></script>

</defs>

     <g id="symbol2">
         <title>circle</title>
       <circle cx="55" cy="40" r="30" fill="#333" />
                </g>

   </svg>





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-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/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to