-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (43 loc) · 1.55 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
<!DOCTYPE html>
<html>
<head>
<title>Carousel demo</title>
<style>
#images {
width: 300px;
}
</style>
<link rel='stylesheet' href='carousel.css' />
<script src='carousel.js'></script>
<script>
window.onload = function() {
var carousel = new Carousel('images');
carousel.init();
}
</script>
</head>
<body>
<h1>Carousel Demo (no jQuery)</h1>
<div id='images'>
<img src='http://placekitten.com/100/100' alt='cat 1' height='100' width='100'>
<img src='http://placekitten.com/100/101' alt='cat 2' height='100' width='100'>
<img src='http://placekitten.com/100/100' alt='cat 3' height='100' width='100'>
<img src='http://placekitten.com/100/101' alt='cat 4' height='100' width='100'>
<img src='http://placekitten.com/100/100' alt='cat 5' height='100' width='100'>
<img src='http://placekitten.com/100/101' alt='cat 6' height='100' width='100'>
<img src='http://placekitten.com/100/100' alt='cat 7' height='100' width='100'>
<img src='http://placekitten.com/100/101' alt='cat 8' height='100' width='100'>
<img src='http://placekitten.com/100/100' alt='cat 9' height='100' width='100'>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37802753-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>