-
Notifications
You must be signed in to change notification settings - Fork 736
/
index.html
48 lines (37 loc) · 2.13 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Carousels using data-* attributes for initialization and configuration - jCarousel Examples</title>
<!-- Shared assets -->
<link rel="stylesheet" type="text/css" href="../_shared/css/style.css">
<!-- Example assets -->
<link rel="stylesheet" type="text/css" href="jcarousel.data-attributes.css">
<script type="text/javascript" src="../../vendor/jquery/jquery.js"></script>
<script type="text/javascript" src="../../dist/jquery.jcarousel.min.js"></script>
<script type="text/javascript" src="jcarousel.data-attributes.js"></script>
</head>
<body>
<div class="wrapper">
<h1>Carousels using data-* attributes</h1>
<p>This example shows how to setup simple carousel using data-* attributes for initialization and configuration.</p>
<div class="jcarousel-wrapper">
<div data-jcarousel="true" data-wrap="circular" class="jcarousel">
<ul>
<li><img src="../_shared/img/img1.jpg" width="600" height="400" alt=""></li>
<li><img src="../_shared/img/img2.jpg" width="600" height="400" alt=""></li>
<li><img src="../_shared/img/img3.jpg" width="600" height="400" alt=""></li>
<li><img src="../_shared/img/img4.jpg" width="600" height="400" alt=""></li>
<li><img src="../_shared/img/img5.jpg" width="600" height="400" alt=""></li>
<li><img src="../_shared/img/img6.jpg" width="600" height="400" alt=""></li>
</ul>
</div>
<p class="photo-credits">
Photos by <a href="http://www.mw-fotografie.de">Marc Wiegelmann</a>
</p>
<a data-jcarousel-control="true" data-target="-=1" href="#" class="jcarousel-control-prev">‹</a>
<a data-jcarousel-control="true" data-target="+=1" href="#" class="jcarousel-control-next">›</a>
</div>
</div>
</body>
</html>