-
Notifications
You must be signed in to change notification settings - Fork 0
/
index 2.html
241 lines (209 loc) · 6.09 KB
/
index 2.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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="author" content="caroufredsel.dev7studios.com" />
<title>carouFredSel: a circular, responsive jQuery carousel</title>
<!-- include jQuery + carouFredSel plugin -->
<script type="text/javascript" language="javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" language="javascript" src="js/jquery.carouFredSel-6.2.1-packed.js"></script>
<!-- optionally include helper plugins -->
<script type="text/javascript" language="javascript" src="helper-plugins/jquery.mousewheel.min.js"></script>
<script type="text/javascript" language="javascript" src="helper-plugins/jquery.touchSwipe.min.js"></script>
<script type="text/javascript" language="javascript" src="helper-plugins/jquery.transit.min.js"></script>
<script type="text/javascript" language="javascript" src="helper-plugins/jquery.ba-throttle-debounce.min.js"></script>
<!-- fire plugin onDocumentReady -->
<script type="text/javascript" language="javascript">
$(function() {
// Basic carousel, no options
$('#foo0').carouFredSel();
// Basic carousel + timer, using CSS-transitions
$('#foo1').carouFredSel({
auto: {
pauseOnHover: 'resume',
progress: '#timer1'
}
}, {
transition: true
});
// Scrolled by user interaction
$('#foo2').carouFredSel({
auto: false,
prev: '#prev2',
next: '#next2',
pagination: "#pager2",
mousewheel: true,
swipe: {
onMouse: true,
onTouch: true
}
});
// Variable number of visible items with variable sizes
$('#foo3').carouFredSel({
width: 360,
height: 'auto',
prev: '#prev3',
next: '#next3',
auto: false
});
// Responsive layout, resizing the items
$('#foo4').carouFredSel({
responsive: true,
width: '100%',
scroll: 2,
items: {
width: 400,
// height: '30%', // optionally resize item-height
visible: {
min: 2,
max: 6
}
}
});
// Fuild layout, centering the items
$('#foo5').carouFredSel({
width: '100%',
scroll: 2
});
});
</script>
</head>
<body>
<div id="intro">
<h1><a href="http://caroufredsel.dev7studios.com">carouFredSel</a></h1>
<p>This is a demo page, for more examples, the complete documentation, tips & tricks, a support-forum and even a configuration robot, visit <a href="http://caroufredsel.dev7studios.com">caroufredsel.dev7studios.com</a></p>
</div>
<div class="wrapper">
<br />
<p>Basic carousel.</p>
<div class="list_carousel">
<ul id="foo0">
<li>c</li>
<li>a</li>
<li>r</li>
<li>o</li>
<li>u</li>
<li>F</li>
<li>r</li>
<li>e</li>
<li>d</li>
<li>S</li>
<li>e</li>
<li>l</li>
<li> </li>
</ul>
<div class="clearfix"></div>
</div>
<br />
<p>Basic carousel + timer, using CSS-transitions.</p>
<div class="list_carousel">
<ul id="foo1">
<li><img src = "stylesheets/rubyhartl.jpg" alt="Ruby on Rails 3 Tutorial"> </li>
<li>a</li>
<li>r</li>
<li>o</li>
<li>u</li>
<li>F</li>
<li>r</li>
<li>e</li>
<li>d</li>
<li>S</li>
<li>e</li>
<li>l</li>
<li> </li>
</ul>
<div class="clearfix"></div>
<div id="timer1" class="timer"></div>
</div>
<br />
<p>Carousel scrolled by user interaction.<br />
(prev-button, next-button, pagination, mousewheel and swipe)</p>
<div class="list_carousel">
<ul id="foo2">
<li>c</li>
<li>a</li>
<li>r</li>
<li>o</li>
<li>u</li>
<li>F</li>
<li>r</li>
<li>e</li>
<li>d</li>
<li>S</li>
<li>e</li>
<li>l</li>
<li> </li>
</ul>
<div class="clearfix"></div>
<a id="prev2" class="prev" href="#"><</a>
<a id="next2" class="next" href="#">></a>
<div id="pager2" class="pager"></div>
</div>
<br />
<p>Carousel with a variable number of visible items with variable sizes.</p>
<div class="list_carousel">
<ul id="foo3">
<li style="width: 50px; height: 50px;">c</li>
<li style="width: 200px; height: 100px;">a</li>
<li style="width: 50px; height: 150px;">r</li>
<li style="width: 50px; height: 200px;">o</li>
<li style="width: 50px; height: 150px;">u</li>
<li style="width: 100px; height: 100px;">F</li>
<li style="width: 250px; height: 50px;">r</li>
<li style="width: 150px; height: 100px;">e</li>
<li style="width: 150px; height: 150px;">d</li>
<li style="width: 50px; height: 200px;">S</li>
<li style="width: 100px; height: 150px;">e</li>
<li style="width: 150px; height: 100px;">l</li>
<li style="width: 200px; height: 50px;"> </li>
</ul>
<div class="clearfix"></div>
<a id="prev3" class="prev" href="#"><</a>
<a id="next3" class="next" href="#">></a>
</div>
</div>
<br />
<p style="text-align: center;">Responsive layout example resizing the items (resize your browser).</p>
<div class="list_carousel responsive">
<ul id="foo4">
<li>c</li>
<li>a</li>
<li>r</li>
<li>o</li>
<li>u</li>
<li>F</li>
<li>r</li>
<li>e</li>
<li>d</li>
<li>S</li>
<li>e</li>
<li>l</li>
<li> </li>
</ul>
<div class="clearfix"></div>
</div>
<br />
<p style="text-align: center;">Responsive layout example centering the items (resize your browser).</p>
<div class="list_carousel responsive" >
<ul id="foo5">
<li style="width: 300px;">c</li>
<li style="width: 150px;">a</li>
<li>r</li>
<li style="width: 300px;">o</li>
<li style="width: 150px;">u</li>
<li>F</li>
<li style="width: 300px;">r</li>
<li style="width: 150px;">e</li>
<li>d</li>
<li style="width: 400px;">S</li>
<li style="width: 150px;">e</li>
<li>l</li>
<li> </li>
</ul>
<div class="clearfix"></div>
</div>
<br />
<br />
<br />
</body>
</html>