-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (49 loc) · 831 Bytes
/
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
54
55
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Notes</title>
<meta name="description" content="SlideMe">
<style>
* {
margin: 0;
padding: 0;
}
body {
padding: 100px;
}
div {
width: 100px;
height: 100px;
}
ul {
width: 400px;
height: 100px;
}
li {
list-style-type: none;
float: left;
width: 100px;
height: 100%;
}
</style>
</head>
<body>
<div id="wrapper">
<ul id="slider">
<li>Page1</li>
<li>Page2</li>
<li>Page3</li>
<li>Page4</li>
</ul>
</div>
<script type="text/javascript" src="lib/slide.js"></script>
<script>
var slideMe = new SlideMe("slider");
slideMe
.within(1, "s")
.to.last()
.end();
</script>
</body>
</html>