質問編集履歴
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,6 +9,8 @@
|
|
9
9
|
どうにかjavascriptだけで表示させることは出来ないでしょうか?
|
10
10
|
|
11
11
|
|
12
|
+
|
13
|
+
ブラウザはGoogleChromeです。
|
12
14
|
|
13
15
|
```
|
14
16
|
|
1
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,6 +12,16 @@
|
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
|
-
|
15
|
+
function showTwitter() {
|
16
|
+
|
17
|
+
var TwitterBox = document.createElement('div');
|
18
|
+
|
19
|
+
TwitterBox.id = 'block';
|
20
|
+
|
21
|
+
document.getElementsByTagName('body')[0].appendChild(TwitterBox);
|
22
|
+
|
23
|
+
TwitterBox.innerHTML = '<iframe class="twitter" height="370" width="330" src="https://twitter.com/" scrolling="auto" style="position: absolute; bottom: 0; left: 0; border-radius: 5px; background-color: white; opacity: 0.65; z-index: 9999;"></iframe>';
|
24
|
+
|
25
|
+
}
|
16
26
|
|
17
27
|
```
|