質問編集履歴
2
質問内容を改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,31 @@
|
|
2
2
|
|
3
3
|
どうすればdrawer.jsを好きなタイミングで無効にすることができるのでしょうか?
|
4
4
|
|
5
|
+
[drawer.js](https://git.blivesta.com/drawer/)
|
6
|
+
|
5
7
|
```HTML
|
8
|
+
|
9
|
+
<!DOCTYPE html>
|
10
|
+
|
11
|
+
<html lang="ja">
|
12
|
+
|
13
|
+
<head>
|
14
|
+
|
15
|
+
<meta charset="UTF-8">
|
16
|
+
|
17
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/drawer/3.1.0/css/drawer.min.css">
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
<link rel="stylesheet" href="css/main.css">
|
26
|
+
|
27
|
+
<title>デイトラ2nd 最終課題</title>
|
28
|
+
|
29
|
+
</head>
|
6
30
|
|
7
31
|
<body class="drawer drawer--right">
|
8
32
|
|
@@ -46,15 +70,15 @@
|
|
46
70
|
|
47
71
|
</header>
|
48
72
|
|
49
|
-
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
|
50
73
|
|
51
|
-
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
|
52
74
|
|
53
|
-
|
75
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
|
54
76
|
|
55
|
-
|
77
|
+
</script>
|
56
78
|
|
79
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/iScroll/5.1.3/iscroll.min.js"></script>
|
80
|
+
|
57
|
-
|
81
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/drawer/3.1.0/js/drawer.min.js"></script>
|
58
82
|
|
59
83
|
|
60
84
|
|
1
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,6 +46,22 @@
|
|
46
46
|
|
47
47
|
</header>
|
48
48
|
|
49
|
+
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
|
50
|
+
|
51
|
+
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
|
52
|
+
|
53
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
54
|
+
|
55
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/iScroll/5.1.3/iscroll.min.js"></script>
|
56
|
+
|
57
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/drawer/3.1.0/js/drawer.min.js"></script>
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<script src="js/main.js"></script>
|
62
|
+
|
63
|
+
</body>
|
64
|
+
|
49
65
|
```
|
50
66
|
|
51
67
|
```javascript
|