hi,
i have embedded image in my svg file.the coding is like follows
<image id="img" xlink:href='image1.jpg' .........> //image1.
jpg
when i click a button i want to change that image to image2.jpg
for that i used.
img=svgdoc.getElementById("img")
img.setAttributeNS(null,'xlink:href','image2.jpg');
this does not give errors.but image does not change.image1.jpg remains
as same.
pls help me
regards,
kelum.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/