470,849 Members | 686 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

svg - adding use tag

SVG structure

<g id="someID" gmwmsvg:typ="l" gmwmsvg:pri="1000">
<g id="gwmg4" class="D5F2B3w3j6" gmwmsvg:hi="D5F2B3w3j6 R2v1p1o6r3">
<use xlink:href="#D5F2B3w3j6" x="9916" y="2711"
gmwmsvg:act="javascript:SetFeatureID('P' + '10380');"></use>
<use xlink:href="#D5F2B3w3j6" x="6995" y="2834"
gmwmsvg:act="javascript:SetFeatureID('P' + '10390');"></use>
<use xlink:href="#D5F2B3w3j6" x="4644" y="3775"
gmwmsvg:act="javascript:SetFeatureID('P' + '10379');"></use>
<use xlink:href="#D5F2B3w3j6" x="8604" y="6546"
gmwmsvg:act="javascript:SetFeatureID('P' + '10375');"></use>

Code: (variable X,Y,sAction appropriately set)

ch.setAttribute("xlink:href",nodes.item(0).getAttr ibute("class"));

nothing happens - any ideas?

Jul 12 '06 #1
1 1012

ti**********@gmail.com wrote:
SVG structure
See answer in comp.lang.javascript.


Martin Honnen
Jul 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Jamie Fryatt | last post: by
1 post views Thread by hzgt9b | last post: by
3 posts views Thread by Jim Heavey | last post: by
6 posts views Thread by vb | last post: by
9 posts views Thread by Kadett | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.