--- In [email protected], "cmragsdale1" <[EMAIL PROTECTED]>
wrote:
> I have a function that updates the image:
>
> function updateURL(newURL) {
>
> var svgDoc= document.embeds["embedSVGMap"].getSVGDocument();
> var myImg = svgDoc.getElementById("imgMap");
> myImg.setAttributeNS('http://www.w3.org/1999/xlink', 'href',
> newURL);
> }
>
> embedSVGMap is the id/name of the embed tag
> imgMap is the id of the SVG image element
>
> This worked beautifully on my test pages and now errors.
Provide more details, what exactly did you try (the above is only a
function definition, where/how do you call the function), what error
message exactly you get, which browser and/or SVG viewer do you use?
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/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/