【发布时间】:2013-07-28 17:08:15
【问题描述】:
我在chrome中使用jquery来控制SVG文件,
$('svg #lotsofimage').append("<image xlink:href='" + conf[thing].base + "' width= '" + conf[thing].width + "px' height= '" + conf[thing].height + "px' x='" + thing_x + "pt' y='" + thing_y + "pt' ></image>");
但是我打开开发工具,显示如下:
<img xlink:href="xxxx" width="xxxx">
<image></image>was instead of <img />
如何处理?
【问题讨论】:
-
好的,我检查了。没有
<image>标签。你在忙什么? -
@Fresheyeball:
image是 SVG 的一部分。 -
@icktoofay 哦,对了。谢谢你的澄清
标签: javascript jquery node.js google-chrome svg