-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (56 loc) · 1.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>JBLSlider Demo</title>
<style>
html,body {
margin: 0;
padding: 0;
}
main {
max-width: 1400px;
min-width: 320px;
margin: 0 auto;
}
</style>
<link type="text/css" rel="stylesheet" href="jquery.jblslider.css" />
</head>
<body>
<main>
<div class="slider" id="jblslider">
<div class="slide" style="background-image: url('slide1.jpg');">
<span class="caption"><a href="#">Slide 1 Caption Text</a></span>
<a href="#"></a>
</div>
<div class="slide" style="background-image: url('slide2.jpg');">
<span class="caption"><a href="#">Slide 2 Caption Text</a></span>
<a href="#"></a>
</div>
<div class="slide" style="background-image: url('slide3.jpg');">
<span class="caption"><a href="#">Slide 3 Caption Text</a></span>
<a href="#"></a>
</div>
<div class="slide" style="background-image: url('slide4.jpg');">
<span class="caption"><a href="#">Slide 4 Caption Text</a></span>
<a href="#"></a>
</div>
<div class="slide" style="background-image: url('slide5.jpg');">
<span class="caption"><a href="#">Slide 5 Caption Text</a></span>
<a href="#"></a>
</div>
</div><!--#slider -->
</main>
<script src="jquery-1.11.3.min.js"></script>
<script src="jquery.jblslider.js"></script>
<script>
$("#jblslider").jblSlider({
safe_area: 640,
duration: 1000,
delay: 5000,
resume: 20000
});
</script>
</body>
</html>