質問編集履歴
3
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -42,9 +42,9 @@
|
|
42
42
|
document.getElementById("div").classList.remove("m_");//3番
|
43
43
|
document.body.removeChild(document.getElementById("div"));//4番
|
44
44
|
});
|
45
|
+
document.body.appendChild(div);
|
45
46
|
//document.getElementById("div").classList.add("m_");1番
|
46
47
|
setTimeout("document.getElementById(\"div\").classList.add(\"m_\")",1000);//2番
|
47
|
-
document.body.appendChild(div);
|
48
48
|
}
|
49
49
|
</script>
|
50
50
|
|
2
ミス
title
CHANGED
File without changes
|
body
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
document.getElementById("div").classList.remove("m_");//3番
|
43
43
|
document.body.removeChild(document.getElementById("div"));//4番
|
44
44
|
});
|
45
|
-
//document.getElementById(
|
45
|
+
//document.getElementById("div").classList.add("m_");1番
|
46
46
|
setTimeout("document.getElementById(\"div\").classList.add(\"m_\")",1000);//2番
|
47
47
|
document.body.appendChild(div);
|
48
48
|
}
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,6 +33,7 @@
|
|
33
33
|
div.style.width="150px";
|
34
34
|
div.style.height="50px";
|
35
35
|
div.style.position="absolute";
|
36
|
+
div.style.top="0%";
|
36
37
|
div.style.right="0%";
|
37
38
|
div.classList.add("m");
|
38
39
|
div.setAttribute("id","div");
|