1
我有一個普通的HTML頁面,就像這個例子:編輯外部SVG圖形通過JavaScript
<html>
<head>
<title>Test</title>
</head>
<body>
<img src='test.svg' id='myImage' />
</body>
</html>
是它在某種程度上可以編輯包含在'img'-TAG中的SVG圖像?我想添加像circle或animate之類的元素。
感謝您的幫助。
可能重複http://stackoverflow.com/questions/8102528/how-do-you-access-the-contents -of-an-svg-file-in-img-element) – 2012-07-11 14:01:04