質問編集履歴

2

CSSの追加

2020/10/18 04:49

投稿

MasayaTakashima
MasayaTakashima

スコア14

test CHANGED
File without changes
test CHANGED
@@ -44,6 +44,42 @@
44
44
 
45
45
  ```
46
46
 
47
+ ``` CSS
48
+
49
+ .footer_slider {
50
+
51
+ width: 60vw;
52
+
53
+ overflow: hidden;
54
+
55
+ margin-top: 20px;
56
+
57
+ }
58
+
59
+
60
+
61
+ .footer_slides {
62
+
63
+ width: 165vw;
64
+
65
+ overflow: hidden;
66
+
67
+ }
68
+
69
+
70
+
71
+ .footer_slide {
72
+
73
+ float: left;
74
+
75
+ padding: 0 5px;
76
+
77
+ width: 15vw;
78
+
79
+ }
80
+
81
+ ```
82
+
47
83
  ```js
48
84
 
49
85
  var $footer_slides = $(".footer_slides");

1

HTMLを追加しました

2020/10/18 04:49

投稿

MasayaTakashima
MasayaTakashima

スコア14

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,48 @@
1
1
  画像のスライドはうまくいっているのにも関わらずcurrentslideの部分がプラスされていきません。どこが原因でしょうか?
2
+
3
+
4
+
5
+ ```html
6
+
7
+ <div class="footer_logo_bar_bg ">
8
+
9
+ <p class="footer_logo_bar_bg_prev " onclick="footer_prev() "><img src="img/btn_prev_01.png "></p>
10
+
11
+ <div class="footer_slider ">
12
+
13
+ <ul id="footer_slides " class="footer_slides ">
14
+
15
+ <li class="footer_slide "><img src="img/bnr_footer_01.png "></li>
16
+
17
+ <li class="footer_slide "><img src="img/bnr_footer_02.png "></li>
18
+
19
+ <li class="footer_slide "><img src="img/bnr_footer_04.png "></li>
20
+
21
+ <li class="footer_slide "><img src="img/bnr_footer_05.png "></li>
22
+
23
+ <li class="footer_slide "><img src="img/bnr_footer_06.png "></li>
24
+
25
+ <li class="footer_slide "><img src="img/bnr_footer_07.png "></li>
26
+
27
+ <li class="footer_slide "><img src="img/bnr_footer_08.png "></li>
28
+
29
+ <li class="footer_slide "><img src="img/bnr_footer_09.png "></li>
30
+
31
+ <li class="footer_slide "><img src="img/bnr_footer_10.png "></li>
32
+
33
+ <li class="footer_slide "><img src="img/bnr_footer_11.png "></li>
34
+
35
+ <li class="footer_slide "><img src="img/bnr_footer_01.png "></li>
36
+
37
+ </ul>
38
+
39
+ </div>
40
+
41
+ <p class="footer_logo_bar_bg_next " onclick="footer_next() "><img class="footer_logo_bar_bg_next " src="img/btn_next_01.png "></p>
42
+
43
+ </div>
44
+
45
+ ```
2
46
 
3
47
  ```js
4
48