0
我在HTML文档中有一个SVG,并且想要使它在单击矩形时移动到顶层。我发现这样做的唯一的事情是这样的:使用javascript更改SVG元素的顺序
return this.parent.removeElement(this).put(this);
但这不起作用。
我在HTML文档中有一个SVG,并且想要使它在单击矩形时移动到顶层。我发现这样做的唯一的事情是这样的:使用javascript更改SVG元素的顺序
return this.parent.removeElement(this).put(this);
但这不起作用。
你想insertBefore或appendChild代替removeElement并把
双方的insertBefore /删除的appendChild从当他们把在其他地方它在哪里的元素。
你能显示你的代码吗? – segarci 2014-12-27 20:05:09