質問編集履歴
1
画像下部の「>」が消えません。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
+
```ここに言語を入力
|
2
|
+
|
3
|
+
コード
|
4
|
+
|
1
|
-
### 前提・実現したいこと
|
5
|
+
```### 前提・実現したいこと
|
2
6
|
|
3
7
|
|
4
8
|
|
@@ -18,11 +22,189 @@
|
|
18
22
|
|
19
23
|
|
20
24
|
|
25
|
+
HTML
|
26
|
+
|
21
|
-
|
27
|
+
<!doctype html>
|
22
|
-
|
23
|
-
|
24
|
-
|
28
|
+
|
25
|
-
|
29
|
+
<html>
|
30
|
+
|
31
|
+
<head>
|
32
|
+
|
33
|
+
<meta charset="utf-8">
|
34
|
+
|
35
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
36
|
+
|
37
|
+
<meta name="description" content="">
|
38
|
+
|
39
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
40
|
+
|
41
|
+
<title>swiperJS</title>
|
42
|
+
|
43
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.1/css/swiper.css">
|
44
|
+
|
45
|
+
<link rel="stylesheet" href="該当のcss">
|
46
|
+
|
47
|
+
</head>
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<style type="text/css">
|
52
|
+
|
53
|
+
<!--
|
54
|
+
|
55
|
+
a:hover {
|
56
|
+
|
57
|
+
opacity:0.8;
|
58
|
+
|
59
|
+
filter:alpha(opacity=60);
|
60
|
+
|
61
|
+
-ms-filter: "alpha( opacity=60 )";
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
-->
|
66
|
+
|
67
|
+
</style>
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
<!-- スライドバナー編集はこちらのhtmlからサイズ幅750縦450で作成 -->
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
<body>
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div class="mainslide container">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<div class="container">
|
86
|
+
|
87
|
+
<div class="swiper-container">
|
88
|
+
|
89
|
+
<div class="swiper-wrapper">
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<div class="swiper-slide"><a href="●●●" target="_top"><img src="http://www.oda-pottery.co.jp/cgi-bin/oda-pottery/siteup.cgi?category=3&page=4"></a>></div>
|
94
|
+
|
95
|
+
<div class="swiper-slide"><a href="●●●" target="_top"><img src="http://www.oda-pottery.co.jp/cgi-bin/oda-pottery/siteup.cgi?category=3&page=4"></a>></div>
|
96
|
+
|
97
|
+
<div class="swiper-slide"><a href="●●●" target="_top"><img src="http://www.oda-pottery.co.jp/cgi-bin/oda-pottery/siteup.cgi?category=3&page=4"></a>></div>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<!-- スライドバナー編集はこちらのhtmlからサイズ幅750縦450で作成ここまで -->+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<div class="swiper-pagination"></div>
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
<!-- If we need navigation buttons -->
|
116
|
+
|
117
|
+
<div class="swiper-button-prev">
|
118
|
+
|
119
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 44">
|
120
|
+
|
121
|
+
<path class="arrow arrow-left" d="M0,22L22,0l2.1,2.1L4.2,22l19.9,19.9L22,44L0,22L0,22L0,22z" />
|
122
|
+
|
123
|
+
</svg>
|
124
|
+
|
125
|
+
</div><!-- .swiper-button-prev -->
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<div class="swiper-button-next">
|
130
|
+
|
131
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 44">
|
132
|
+
|
133
|
+
<path class="arrow arrow-right" d="M27,22L27,22L5,44l-2.1-2.1L22.8,22L2.9,2.1L5,0L27,22L27,22z" />
|
134
|
+
|
135
|
+
</svg>
|
136
|
+
|
137
|
+
</div><!-- .swiper-button-next -->
|
138
|
+
|
139
|
+
</div>
|
140
|
+
|
141
|
+
</div>
|
142
|
+
|
143
|
+
</div>
|
144
|
+
|
145
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.1/js/swiper.min.js"></script>
|
146
|
+
|
147
|
+
<script>
|
148
|
+
|
149
|
+
var swiper = new Swiper('.swiper-container', {
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
slidesPerView: 3,
|
154
|
+
|
155
|
+
autoplay: 3000,
|
156
|
+
|
157
|
+
speed: 2000,
|
158
|
+
|
159
|
+
loop: true,
|
160
|
+
|
161
|
+
centeredSlides: true,
|
162
|
+
|
163
|
+
paginationClickable: true,
|
164
|
+
|
165
|
+
pagination: '.swiper-pagination',
|
166
|
+
|
167
|
+
autoplayDisableOnInteraction: false,
|
168
|
+
|
169
|
+
// ナビゲーションボタン
|
170
|
+
|
171
|
+
nextButton: '.swiper-button-next',
|
172
|
+
|
173
|
+
prevButton: '.swiper-button-prev',
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
// 1スライドごとの余白
|
178
|
+
|
179
|
+
spaceBetween: 5
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
});
|
184
|
+
|
185
|
+
</script>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
</body>
|
190
|
+
|
191
|
+
</html>
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
26
208
|
|
27
209
|
css
|
28
210
|
|