質問編集履歴
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
-
```jQuery
|
51
|
+
``` jQuery
|
52
52
|
|
53
53
|
コード
|
54
54
|
|
@@ -82,7 +82,7 @@
|
|
82
82
|
|
83
83
|
|
84
84
|
|
85
|
-
|
85
|
+
次へボタンと前へボタンに使うHTMLとjQueryのコードです
|
86
86
|
|
87
87
|
|
88
88
|
|
2
HTMLを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,53 @@
|
|
1
|
+
```HTML
|
2
|
+
|
3
|
+
コード
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
<div class="slide-wrapper">
|
8
|
+
|
9
|
+
<h2 class="slide-title"></h2>
|
10
|
+
|
11
|
+
<div class="change-btn-wrapper">
|
12
|
+
|
13
|
+
<div class="change-btn prev-btn">← 前へ</div>
|
14
|
+
|
15
|
+
<div class="change-btn next-btn">次へ →</div>
|
16
|
+
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<ul class="slides">
|
20
|
+
|
21
|
+
<li class="slide active"><img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/jquery/advanced/spring.jpg"></li>
|
22
|
+
|
23
|
+
<li class="slide"><img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/jquery/advanced/rainy.jpg"></li>
|
24
|
+
|
25
|
+
<li class="slide"><img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/jquery/advanced/autumn.jpg"></li>
|
26
|
+
|
27
|
+
<li class="slide"><img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/jquery/advanced/winter.jpg"></li>
|
28
|
+
|
29
|
+
</ul>
|
30
|
+
|
31
|
+
<div class="index-btn-wrapper">
|
32
|
+
|
33
|
+
<div class="index-btn">1</div>
|
34
|
+
|
35
|
+
<div class="index-btn">2</div>
|
36
|
+
|
37
|
+
<div class="index-btn">3</div>
|
38
|
+
|
39
|
+
<div class="index-btn">4</div>
|
40
|
+
|
41
|
+
</div>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
|
45
|
+
```
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
1
51
|
```jQuery
|
2
52
|
|
3
53
|
コード
|
1
②に修正しました!ありがとうございます!
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,6 +56,6 @@
|
|
56
56
|
|
57
57
|
|
58
58
|
|
59
|
-
質問
|
59
|
+
質問②
|
60
60
|
|
61
61
|
もし質問①の考えで合っているのであれば「$('')」に「.nextメソッド」「.prevメソッド」を使うことになるのは変じゃないでしょうか?
|