-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
80 lines (64 loc) · 1.83 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>jQuery Slider</title>
<!-- Attach CSS -->
<link rel="stylesheet" href="site/components/normalize-css/normalize.css">
<link rel="stylesheet" href="build/jquery.slider-0.5.0.min.css">
<link rel="stylesheet" href="site/site.css">
<meta name="viewport" content="width=device-width">
</head>
<body>
<div class="container">
<h4>jQuery Slider</h4>
<div class="slider">
<div class="content">
<h1>Slider does content now.</h1>
<h3>Highlight me...I'm text.</h3>
</div>
<img src="site/img/overflow.jpg">
<img src="site/img/captions.jpg" data-caption="#slide-caption">
<img src="site/img/features.jpg">
</div>
<div id="slide-caption" class="slider-captionelement">
<h3>This is a caption</h3>
</div>
<h2>Fade</h2>
<div class="slider-fade">
<div class="content">
<h1>Slider does content now.</h1>
<h3>Highlight me...I'm text.</h3>
</div>
<img src="site/img/overflow.jpg">
<img src="site/img/captions.jpg" data-caption="#slide-caption">
<img src="site/img/features.jpg">
</div>
<h2>Carousel</h2>
<div class="carousel">
<div class="content">
<h1>Slider does content now.</h1>
<h3>Highlight me...I'm text.</h3>
</div>
<img src="site/img/overflow.jpg">
<img src="site/img/captions.jpg">
<img src="site/img/features.jpg">
</div>
</div>
<!-- Attach necessary JS -->
<script src="site/components/jquery/jquery.min.js"></script>
<!-- <script src="build/jquery.slider-0.5.0.min.js"></script> -->
<script src="jquery.slider.js"></script>
<!-- Run the plugin -->
<script>
$('.slider').slider({
bullets: true
});
$('.slider-fade').slider({
animation: 'fade'
});
$('.carousel').slider({
carousel: true
});
</script>
</body>
</html>