-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider.htm
111 lines (82 loc) · 2.54 KB
/
slider.htm
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Aga 1.08 - Beispiel: Standard</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/aga-1.07.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="js/aga-1.08.min.js"></script>
<script>
$(function() {
$('ul').aga({
size: {
min: null
},
forceSize: true
});
$('.prev').click(function() {
$('ul').aga('open', 'prev');
});
$('.next').click(function() {
$('ul').aga('open', 'next');
});
});
</script>
<style>
body {
margin:0;
padding:0;
font-family:Verdana, sans-serif;
}
a {
position:absolute;
top:150px;
width:50px;
padding:0 5px !important;
line-height:20px;
font-size:10px;
color:#fff;
text-decoration:none;
background:#000;
text-align:center;
opacity:0.8;
}
a.prev {
left:0;
}
a.next {
left:440px;
}
ul {
margin-top:10px;
width:500px;
height:334px;
}
ul li {
width:500px;
height:334px;
}
</style>
</head>
<body>
<ul>
<li>
<img src="http://farm5.static.flickr.com/4088/5022646362_4ce0e47c0a.jpg" />
</li>
<li>
<img src="http://farm5.static.flickr.com/4153/5017235312_13ba30557e.jpg" />
</li>
<li>
<img src="http://farm5.static.flickr.com/4138/4943039424_9f7c8680c8.jpg" />
</li>
<li>
<img src="http://farm5.static.flickr.com/4144/4847782802_7967c4075b.jpg" />
</li>
<li>
<img src="http://farm3.static.flickr.com/2774/4493757422_efa5b70d3d.jpg" />
</li>
</ul>
<a href="#" class="prev">Prev</a>
<a href="#" class="next">Next</a>
</body>
</html>