回答編集履歴
2
コードの内容を拡充
test
CHANGED
@@ -11,6 +11,10 @@
|
|
11
11
|
//paner.style.xxxとなっている部分を全部次の記法で置き換える
|
12
12
|
|
13
13
|
panel.style.setProperty("position", "fixed", "important");
|
14
|
+
|
15
|
+
//更に左表示とするにはこの行が抜けている
|
16
|
+
|
17
|
+
panel.style.setProperty("left", "0", "important");
|
14
18
|
|
15
19
|
//以下省略
|
16
20
|
|
@@ -36,7 +40,7 @@
|
|
36
40
|
|
37
41
|
```JavaScript
|
38
42
|
|
39
|
-
panel.style.setProperty("z-index",
|
43
|
+
panel.style.setProperty("z-index", 999999, "important");//足りなければ増やす
|
40
44
|
|
41
45
|
```
|
42
46
|
|
1
記述を詳細化
test
CHANGED
@@ -8,7 +8,11 @@
|
|
8
8
|
|
9
9
|
```JavaScript
|
10
10
|
|
11
|
+
//paner.style.xxxとなっている部分を全部次の記法で置き換える
|
12
|
+
|
11
13
|
panel.style.setProperty("position", "fixed", "important");
|
14
|
+
|
15
|
+
//以下省略
|
12
16
|
|
13
17
|
```
|
14
18
|
|