質問編集履歴
2
cssのコードも直接掲載しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,6 +90,368 @@
|
|
90
90
|
|
91
91
|
---追記----
|
92
92
|
|
93
|
+
cssはダウンロードした時と変更は御座いませんが、ここに載せます。長いです。
|
94
|
+
|
95
|
+
```css
|
96
|
+
|
97
|
+
/** VARIABLES
|
98
|
+
|
99
|
+
===================================*/
|
100
|
+
|
101
|
+
/** RESET AND LAYOUT
|
102
|
+
|
103
|
+
===================================*/
|
104
|
+
|
105
|
+
.bx-wrapper {
|
106
|
+
|
107
|
+
position: relative;
|
108
|
+
|
109
|
+
margin-bottom: 60px;
|
110
|
+
|
111
|
+
padding: 0;
|
112
|
+
|
113
|
+
*zoom: 1;
|
114
|
+
|
115
|
+
-ms-touch-action: pan-y;
|
116
|
+
|
117
|
+
touch-action: pan-y;
|
118
|
+
|
119
|
+
}
|
120
|
+
|
121
|
+
.bx-wrapper img {
|
122
|
+
|
123
|
+
max-width: 100%;
|
124
|
+
|
125
|
+
display: block;
|
126
|
+
|
127
|
+
}
|
128
|
+
|
129
|
+
.bxslider {
|
130
|
+
|
131
|
+
margin: 0;
|
132
|
+
|
133
|
+
padding: 0;
|
134
|
+
|
135
|
+
}
|
136
|
+
|
137
|
+
ul.bxslider {
|
138
|
+
|
139
|
+
list-style: none;
|
140
|
+
|
141
|
+
}
|
142
|
+
|
143
|
+
.bx-viewport {
|
144
|
+
|
145
|
+
/*fix other elements on the page moving (on Chrome)*/
|
146
|
+
|
147
|
+
-webkit-transform: translatez(0);
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
/** THEME
|
152
|
+
|
153
|
+
===================================*/
|
154
|
+
|
155
|
+
.bx-wrapper {
|
156
|
+
|
157
|
+
-moz-box-shadow: 0 0 5px #ccc;
|
158
|
+
|
159
|
+
-webkit-box-shadow: 0 0 5px #ccc;
|
160
|
+
|
161
|
+
box-shadow: 0 0 5px #ccc;
|
162
|
+
|
163
|
+
border: 5px solid #fff;
|
164
|
+
|
165
|
+
background: #fff;
|
166
|
+
|
167
|
+
}
|
168
|
+
|
169
|
+
.bx-wrapper .bx-pager,
|
170
|
+
|
171
|
+
.bx-wrapper .bx-controls-auto {
|
172
|
+
|
173
|
+
position: absolute;
|
174
|
+
|
175
|
+
bottom: -30px;
|
176
|
+
|
177
|
+
width: 100%;
|
178
|
+
|
179
|
+
}
|
180
|
+
|
181
|
+
/* LOADER */
|
182
|
+
|
183
|
+
.bx-wrapper .bx-loading {
|
184
|
+
|
185
|
+
min-height: 50px;
|
186
|
+
|
187
|
+
background: url('images/bx_loader.gif') center center no-repeat #ffffff;
|
188
|
+
|
189
|
+
height: 100%;
|
190
|
+
|
191
|
+
width: 100%;
|
192
|
+
|
193
|
+
position: absolute;
|
194
|
+
|
195
|
+
top: 0;
|
196
|
+
|
197
|
+
left: 0;
|
198
|
+
|
199
|
+
z-index: 2000;
|
200
|
+
|
201
|
+
}
|
202
|
+
|
203
|
+
/* PAGER */
|
204
|
+
|
205
|
+
.bx-wrapper .bx-pager {
|
206
|
+
|
207
|
+
text-align: center;
|
208
|
+
|
209
|
+
font-size: .85em;
|
210
|
+
|
211
|
+
font-family: Arial;
|
212
|
+
|
213
|
+
font-weight: bold;
|
214
|
+
|
215
|
+
color: #666;
|
216
|
+
|
217
|
+
padding-top: 20px;
|
218
|
+
|
219
|
+
}
|
220
|
+
|
221
|
+
.bx-wrapper .bx-pager.bx-default-pager a {
|
222
|
+
|
223
|
+
background: #666;
|
224
|
+
|
225
|
+
text-indent: -9999px;
|
226
|
+
|
227
|
+
display: block;
|
228
|
+
|
229
|
+
width: 10px;
|
230
|
+
|
231
|
+
height: 10px;
|
232
|
+
|
233
|
+
margin: 0 5px;
|
234
|
+
|
235
|
+
outline: 0;
|
236
|
+
|
237
|
+
-moz-border-radius: 5px;
|
238
|
+
|
239
|
+
-webkit-border-radius: 5px;
|
240
|
+
|
241
|
+
border-radius: 5px;
|
242
|
+
|
243
|
+
}
|
244
|
+
|
245
|
+
.bx-wrapper .bx-pager.bx-default-pager a:hover,
|
246
|
+
|
247
|
+
.bx-wrapper .bx-pager.bx-default-pager a.active,
|
248
|
+
|
249
|
+
.bx-wrapper .bx-pager.bx-default-pager a:focus {
|
250
|
+
|
251
|
+
background: #000;
|
252
|
+
|
253
|
+
}
|
254
|
+
|
255
|
+
.bx-wrapper .bx-pager-item,
|
256
|
+
|
257
|
+
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
|
258
|
+
|
259
|
+
display: inline-block;
|
260
|
+
|
261
|
+
vertical-align: bottom;
|
262
|
+
|
263
|
+
*zoom: 1;
|
264
|
+
|
265
|
+
*display: inline;
|
266
|
+
|
267
|
+
}
|
268
|
+
|
269
|
+
.bx-wrapper .bx-pager-item {
|
270
|
+
|
271
|
+
font-size: 0;
|
272
|
+
|
273
|
+
line-height: 0;
|
274
|
+
|
275
|
+
}
|
276
|
+
|
277
|
+
/* DIRECTION CONTROLS (NEXT / PREV) */
|
278
|
+
|
279
|
+
.bx-wrapper .bx-prev {
|
280
|
+
|
281
|
+
left: 10px;
|
282
|
+
|
283
|
+
background: url('images/controls.png') no-repeat 0 -32px;
|
284
|
+
|
285
|
+
}
|
286
|
+
|
287
|
+
.bx-wrapper .bx-prev:hover,
|
288
|
+
|
289
|
+
.bx-wrapper .bx-prev:focus {
|
290
|
+
|
291
|
+
background-position: 0 0;
|
292
|
+
|
293
|
+
}
|
294
|
+
|
295
|
+
.bx-wrapper .bx-next {
|
296
|
+
|
297
|
+
right: 10px;
|
298
|
+
|
299
|
+
background: url('images/controls.png') no-repeat -43px -32px;
|
300
|
+
|
301
|
+
}
|
302
|
+
|
303
|
+
.bx-wrapper .bx-next:hover,
|
304
|
+
|
305
|
+
.bx-wrapper .bx-next:focus {
|
306
|
+
|
307
|
+
background-position: -43px 0;
|
308
|
+
|
309
|
+
}
|
310
|
+
|
311
|
+
.bx-wrapper .bx-controls-direction a {
|
312
|
+
|
313
|
+
position: absolute;
|
314
|
+
|
315
|
+
top: 50%;
|
316
|
+
|
317
|
+
margin-top: -16px;
|
318
|
+
|
319
|
+
outline: 0;
|
320
|
+
|
321
|
+
width: 32px;
|
322
|
+
|
323
|
+
height: 32px;
|
324
|
+
|
325
|
+
text-indent: -9999px;
|
326
|
+
|
327
|
+
z-index: 9999;
|
328
|
+
|
329
|
+
}
|
330
|
+
|
331
|
+
.bx-wrapper .bx-controls-direction a.disabled {
|
332
|
+
|
333
|
+
display: none;
|
334
|
+
|
335
|
+
}
|
336
|
+
|
337
|
+
/* AUTO CONTROLS (START / STOP) */
|
338
|
+
|
339
|
+
.bx-wrapper .bx-controls-auto {
|
340
|
+
|
341
|
+
text-align: center;
|
342
|
+
|
343
|
+
}
|
344
|
+
|
345
|
+
.bx-wrapper .bx-controls-auto .bx-start {
|
346
|
+
|
347
|
+
display: block;
|
348
|
+
|
349
|
+
text-indent: -9999px;
|
350
|
+
|
351
|
+
width: 10px;
|
352
|
+
|
353
|
+
height: 11px;
|
354
|
+
|
355
|
+
outline: 0;
|
356
|
+
|
357
|
+
background: url('images/controls.png') -86px -11px no-repeat;
|
358
|
+
|
359
|
+
margin: 0 3px;
|
360
|
+
|
361
|
+
}
|
362
|
+
|
363
|
+
.bx-wrapper .bx-controls-auto .bx-start:hover,
|
364
|
+
|
365
|
+
.bx-wrapper .bx-controls-auto .bx-start.active,
|
366
|
+
|
367
|
+
.bx-wrapper .bx-controls-auto .bx-start:focus {
|
368
|
+
|
369
|
+
background-position: -86px 0;
|
370
|
+
|
371
|
+
}
|
372
|
+
|
373
|
+
.bx-wrapper .bx-controls-auto .bx-stop {
|
374
|
+
|
375
|
+
display: block;
|
376
|
+
|
377
|
+
text-indent: -9999px;
|
378
|
+
|
379
|
+
width: 9px;
|
380
|
+
|
381
|
+
height: 11px;
|
382
|
+
|
383
|
+
outline: 0;
|
384
|
+
|
385
|
+
background: url('images/controls.png') -86px -44px no-repeat;
|
386
|
+
|
387
|
+
margin: 0 3px;
|
388
|
+
|
389
|
+
}
|
390
|
+
|
391
|
+
.bx-wrapper .bx-controls-auto .bx-stop:hover,
|
392
|
+
|
393
|
+
.bx-wrapper .bx-controls-auto .bx-stop.active,
|
394
|
+
|
395
|
+
.bx-wrapper .bx-controls-auto .bx-stop:focus {
|
396
|
+
|
397
|
+
background-position: -86px -33px;
|
398
|
+
|
399
|
+
}
|
400
|
+
|
401
|
+
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
|
402
|
+
|
403
|
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
|
404
|
+
|
405
|
+
text-align: left;
|
406
|
+
|
407
|
+
width: 80%;
|
408
|
+
|
409
|
+
}
|
410
|
+
|
411
|
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
|
412
|
+
|
413
|
+
right: 0;
|
414
|
+
|
415
|
+
width: 35px;
|
416
|
+
|
417
|
+
}
|
418
|
+
|
419
|
+
/* IMAGE CAPTIONS */
|
420
|
+
|
421
|
+
.bx-wrapper .bx-caption {
|
422
|
+
|
423
|
+
position: absolute;
|
424
|
+
|
425
|
+
bottom: 0;
|
426
|
+
|
427
|
+
left: 0;
|
428
|
+
|
429
|
+
background: #666;
|
430
|
+
|
431
|
+
background: rgba(80, 80, 80, 0.75);
|
432
|
+
|
433
|
+
width: 100%;
|
434
|
+
|
435
|
+
}
|
436
|
+
|
437
|
+
.bx-wrapper .bx-caption span {
|
438
|
+
|
439
|
+
color: #fff;
|
440
|
+
|
441
|
+
font-family: Arial;
|
442
|
+
|
443
|
+
display: block;
|
444
|
+
|
445
|
+
font-size: .85em;
|
446
|
+
|
447
|
+
padding: 10px;
|
448
|
+
|
449
|
+
}
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
```
|
454
|
+
|
93
455
|
bxslider.cssのコードが長いため、html及びcssをこちらにアップしました。
|
94
456
|
|
95
457
|
http://nakatakira.html.xdomain.jp/test/test.html
|
1
html及びcssをサーバーにアップし、urlを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -87,3 +87,11 @@
|
|
87
87
|
</html>
|
88
88
|
|
89
89
|
```
|
90
|
+
|
91
|
+
---追記----
|
92
|
+
|
93
|
+
bxslider.cssのコードが長いため、html及びcssをこちらにアップしました。
|
94
|
+
|
95
|
+
http://nakatakira.html.xdomain.jp/test/test.html
|
96
|
+
|
97
|
+
http://nakatakira.html.xdomain.jp/test/jquery.bxslider.css
|