-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
37 lines (36 loc) · 1.43 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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Zepto Carousel</title>
<meta name="viewport" content="width=500">
<link rel="stylesheet" href="styles.css">
<link href="//fonts.googleapis.com/css?family=Ubuntu:300,700" rel="stylesheet" type="text/css">
</head>
<body>
<div id="main">
<div class="wrapper">
<h1>Zepto Carousel</h1>
<p>Very simple carousel with support to swipe and css transitions.</p>
<p><a href="//github.com/jcemer/zepto-carousel">github.com/jcemer/zepto-carousel</a></p>
<div class="container">
<ul>
<li>Page 1</li>
<li>Page 2</li>
<li>Page 3</li>
<li>Page 4</li>
</ul>
</div>
<button class="prev" type="button">Prev</button>
<button class="next" type="button">Next</button>
<script src="zepto.js"></script>
<script src="zepto-carousel.js"></script>
<script>
$.supports.addClass('transform', 'transform3d');
$('.container ul').carousel();
</script>
</div>
<a href="//github.com/jcemer/zepto-carousel"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub"></a>
</div>
</body>
</html>