> imgElem.setAttribute("xlink:href",signalName);
Take a look at Jonathan Watt's excellent authoring guidelines [1].
For this particular case, it would be:
// more intuitive as the "xlink" prefix is also appended; expects
"xmlns:xlink" property set to "http://www.w3.org/1999/xlink" in the
top-level SVG element
imgElem.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href",
signalName);
// should also work
imgElem.setAttributeNS("http://www.w3.org/1999/xlink", "href",
signalName);
Hope this helps,
Helder Magalhães
[1] http://jwatt.org/svg/authoring/#namespace-aware-methods
------------------------------------
-----
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/