質問編集履歴
2
add tag
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
1
domain名の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
[参考SVGファイル](http://gimmicklog.main.jp/demo/svg-jQuery/panda.svg)
|
5
5
|
|
6
6
|
```html
|
7
|
-
<object id="svg_map" data="https://
|
7
|
+
<object id="svg_map" data="https://example.com/panda.svg" type="image/svg+xml"></object>
|
8
8
|
|
9
9
|
<script>
|
10
10
|
$(function(){
|
@@ -20,7 +20,7 @@
|
|
20
20
|
**① svg_map**
|
21
21
|
正しく読み込まれていると推測。
|
22
22
|
ツリーのcontentDocument配下には、
|
23
|
-
`URL: https://
|
23
|
+
`URL: https://example.com/panda.svg`
|
24
24
|
`contentType: "image/svg+xml"`
|
25
25
|
`doctype: <!DOCTYPE svg>`
|
26
26
|
`all: HTMLAllCollection(13) [svg, g#white, g, path, path, g#black, path, p...`
|