-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathindex.html
211 lines (198 loc) · 7.66 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!DOCTYPE html>
<html>
<head>
<title>Demo page</title>
<link rel="stylesheet" href="/style/common.css" />
<script src="/bundle.min.js"></script>
</head>
<body>
<h3>Carousel in a list</h3>
<p class="carousel-nav">
You may jump directly to <a href="#li-list1">Slide 1</a> or
<a href="#li-list3">Slide 3</a>. (Carousel list)
</p>
<ul class="pat-carousel">
<li id="li-list1">
<img
alt=""
src="http://farm8.staticflickr.com/7274/7591031938_76b64e13fa_z_d.jpg"
/>
</li>
<li id="li-list2">
<img
alt=""
src="http://farm8.staticflickr.com/7123/7591044464_e593c023df_z_d.jpg"
/>
</li>
<li id="li-list3">
<img
alt=""
src="http://farm3.staticflickr.com/2581/3881246563_187586ddc5_z_d.jpg"
/>
</li>
</ul>
<p class="carousel-nav">
You may jump directly to <a href="#div-list2">Slide 2</a> or
<a href="#div-list3">Slide 3</a>. (Carousel div)
</p>
<h3>Carousel with autoplay, autoplaySpeed 1000 and infinite loop</h3>
<ul class="pat-carousel"
data-pat-carousel="auto-play: true; auto-play-speed: 1000; infinite: true">
<li id="li-list4">
<img
alt=""
src="http://farm8.staticflickr.com/7274/7591031938_76b64e13fa_z_d.jpg"/>
</li>
<li id="li-list5">
<img
alt=""
src="http://farm8.staticflickr.com/7123/7591044464_e593c023df_z_d.jpg"/>
</li>
<li id="li-list6">
<img
alt=""
src="http://farm3.staticflickr.com/2581/3881246563_187586ddc5_z_d.jpg"/>
</li>
</ul>
<h3>Carousel with speed 3000 (3 sec duration to switch)</h3>
<ul class="pat-carousel" data-pat-carousel="speed: 3000">
<li id="li-list7">
<img
alt=""
src="http://farm8.staticflickr.com/7274/7591031938_76b64e13fa_z_d.jpg"/>
</li>
<li id="li-list8">
<img
alt=""
src="http://farm8.staticflickr.com/7123/7591044464_e593c023df_z_d.jpg"/>
</li>
<li id="li-list9">
<img
alt=""
src="http://farm3.staticflickr.com/2581/3881246563_187586ddc5_z_d.jpg"/>
</li>
</ul>
<h3>Carousel with adaptive height</h3>
<ul class="pat-carousel" data-pat-carousel="height: adaptive">
<li id="li-list10">Hello World</li>
<li id="li-list11">Hello World<br />when does it snow?</li>
<li id="li-list12">
Hello World<br />when does it snow?<br />I want to ski!
</li>
</ul>
<h3>Carousel without arrows</h3>
<ul class="pat-carousel" data-pat-carousel="arrows: hide">
<li id="li-list13">Who needs arrows?</li>
<li id="li-list14">Not me…</li>
<li id="li-list15">Perhaps you?</li>
</ul>
<h3>Carousel showing 2 slides, scrolling 2 at a time</h3>
<ul
class="pat-carousel"
data-pat-carousel="slides-to-show: 2; slides-to-scroll: 2">
<li id="li-list16">1</li>
<li id="li-list17">2</li>
<li id="li-list18">3</li>
<li id="li-list19">4</li>
</ul>
<h3>Carousel with dots</h3>
<ul class="pat-carousel" data-pat-carousel="dots: show">
<li id="li-list20">
<img
alt=""
src="http://farm8.staticflickr.com/7274/7591031938_76b64e13fa_z_d.jpg"/>
</li>
<li id="li-list21">
<img
alt=""
src="http://farm8.staticflickr.com/7123/7591044464_e593c023df_z_d.jpg"/>
</li>
<li id="li-list22">
<img
alt=""
src="http://farm3.staticflickr.com/2581/3881246563_187586ddc5_z_d.jpg"/>
</li>
</ul>
<h3>Carousel with dots before the carousel</h3>
<ul class="pat-carousel"
data-pat-carousel="dots: show; append-dots: #dots-container">
<li id="li-list23">
<img
alt=""
src="http://farm8.staticflickr.com/7274/7591031938_76b64e13fa_z_d.jpg"/>
</li>
<li id="li-list24">
<img
alt=""
src="http://farm8.staticflickr.com/7123/7591044464_e593c023df_z_d.jpg"/>
</li>
<li id="li-list25">
<img
alt=""
src="http://farm3.staticflickr.com/2581/3881246563_187586ddc5_z_d.jpg"/>
</li>
</ul>
<div id="dots-container"></div>
<h3>Carousel as divs</h3>
<div
class="pat-carousel"
data-pat-carousel="control-arrows: true; time-delay: 5000; time-animation: 100">
<div id="div-list1">
<div class="panel">
<h2>Non-image content</h2>
<p>
A slide can contain other things than images. For
example just a bunch of HTML.
</p>
<p>
Nulla facilisi. Ut mollis lectus ac nisl tincidunt quis
varius arcu mattis. Etiam augue erat, suscipit eget
rhoncus vitae, semper at massa. Etiam elementum, metus
euismod tempus ultrices, magna mauris bibendum augue, in
vestibulum enim sem lobortis magna. Pellentesque auctor,
erat ut tempus vestibulum, velit nisi ultrices purus, ac
sodales ipsum sapien sed ligula.
</p>
</div>
</div>
<div id="div-list2">
<img
alt=""
src="http://farm8.staticflickr.com/7274/7591031938_76b64e13fa_z_d.jpg"/>
</div>
<div id="div-list3">
<img
alt=""
src="http://farm8.staticflickr.com/7123/7591044464_e593c023df_z_d.jpg"/>
</div>
<div id="div-list4">
<img
alt=""
src="http://farm3.staticflickr.com/2581/3881246563_187586ddc5_z_d.jpg"/>
</div>
</div>
<h3>Responsive carousel</h3>
<ul class="pat-carousel"
data-pat-carousel="slides-to-show: 2; breakpoint1: 1200; breakpoint2: 767; breakpoint1-slides-to-show: 1; breakpoint2-slides-to-show: 1">
<li id="li-list26">
<img
alt=""
src="http://farm8.staticflickr.com/7274/7591031938_76b64e13fa_z_d.jpg"/>
</li>
<li id="li-list27">
<img
alt=""
src="http://farm8.staticflickr.com/7123/7591044464_e593c023df_z_d.jpg"/>
</li>
<li id="li-list28">
<img
alt=""
src="http://farm3.staticflickr.com/2581/3881246563_187586ddc5_z_d.jpg"/>
</li>
</ul>
<footer>
All image are copyright 2012 by
<a href="http://www.wiggy.net/">Wichert Akkerman</a>.
</footer>
</body>
</html>