Hi, Spring-
You're making some wrong assumptions about SVG.
1) In order for text to show up, you must have a 'text' element, not simply
place text in a container element like an 'a' element;
2) You cannot create a DOM object by simply making a string; you must create
a new element from scratch.
Hi All,
I need to set different links(.pdf, .doc, .ppt) to a svg element, say
varLink when I click on different map objects.
I failed when I tried to change the node value of the varLink in my
javaScript by
svgDoc.getElementById("varLink").firstChild.nodeValue=" Here is a link";
Please
2 matches
Mail list logo