Just a bit more simplification on my part...
I have two files in the same directory, test.htm & test.svg.
When performing the MouseClick function I get "Object doesn't support
this property or method" on Line 5 where getSVGDocument is called.
I'm heavily leaning toward something on my laptop, although I have
one co-worker who can duplicate and another who cannot. Here's the
specs...
Win XP SP2
IE6
ASV 3.02
------test.htm--------------
<html >
<embed src="test.svg" name="FP" height="100%" width="100%"
type="image/svg+xml"
PLUGINSPAGE="http://www.adobe.com/svg/viewer/install/" >
</html>
--------end of test.htm---------
-------test.svg----------
<svg width="300" height="300">
<script>
function MouseClick(target_id)
{
alert('before');
var svgdoc = document.getSVGDocument();
alert('after');
var svgobj = svgdoc.getElementById(target_id);
if (svgobj == null)
{
alert("Obj is a null!");
} else
{
svgobj.setAttribute('cx', '100');
}
}
</script>
<circle id="circle1" cx="40" cy="50" r="11" style="fill:rgb(100,0,0)"
onclick="MouseClick('circle2')"/>
<circle id="circle2" cx="40" cy="100" r="11" style="fill:rgb(0,100,0)"
onclick="MouseClick('circle1')"/>
</svg>
--------end of test.svg--------
-----
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/