I have a use tag with a mouseover action.  The code looks something
like this:

<?xml version="1.0" standalone="no"?>
<svg viewBox="0 0 1224 792" xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns="http://www.w3.org/2000/svg"; >
        <script><![CDATA[
                function showData(evt) {
                        alert(evt.target);
                }
        ]]></script>

        <symbol id="wellNP" >
                <circle r="4" fill="green" cx="0" cy="0"/>
        </symbol>

        <g id="wells" onmouseover="showData(evt)" >
                <use id="wells_214655" xlink:href="#wellNP"
transform="translate(100,100)" />
        </g>

I am getting a different value for the evt.target value.  In Mozilla
and IE7/ASV the value is SVGUseElement.  In Opera the value is
SVGElementInstance.  I can get the SVGUseElement in Opera via
evt.target.correspondingUseElement method.  In Batik the value is
SVGOMCircleElement (the symbol object).  I am not sure how to get the
SVGUseElement from Batik.

What is the correct value in this case??

Thanks for any help - I am trying to make the code as cross browser as
possible.

Bruce Rindahl





-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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