-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·53 lines (51 loc) · 1.76 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Carousel.js - A lightweight jQuery carousel plugin</title>
<meta name="description" content="Carousel.js - A lightweight jQuery carousel plugin.">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="wrap">
<header>
<h1>Carousel.js</h1>
</header>
<section id="carousel">
<ul>
<li>
<img src="img/one.jpg" alt="Photo by Toby Harriman" />
</li>
<li>
<img src="img/two.jpg" alt="Photo by Toby Harriman" />
</li>
<li>
<img src="img/three.jpg" alt="Photo by Toby Harriman" />
</li>
</ul>
<nav>
<a class="next" href="#" title="Next Slide"></a>
<a class="prev" href="#" title="Previous Slide"></a>
</nav>
</section>
<footer>
<small>
Copyright © 2013 Benjamin Zalasky. Released under the <a href="http://opensource.org/licenses/MIT" title="MIT License">MIT license</a>. Photography by <a href="http://photography.tobyharriman.com/" title="Toby Harriman">Toby Harriman</a>.
<small>
</footer>
</div>
<script src="js/jquery.js"></script>
<script src="js/jquery.animate-enhanced"></script>
<script src="js/carousel.js"></script>
<script>
var carousel = new $.carousel('#carousel ul', {
height: 438,
width: 700,
nextCallback: function () { console.log('Showing the next slide.'); },
prevCallback: function () { console.log('Showing the previous slide.'); }
});
</script>
</body>
</html>