-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
48 lines (44 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>slideJS test</title>
<link rel="stylesheet" href="slide.css">
</head>
<body>
<div id="slide" class="slide">
<ul class="slide_list">
<li><img src="http://placehold.it/960x264/5ec5ce/ffffff"></li>
<li><img src="http://placehold.it/960x264/75aee6/ffffff"></li>
<li><img src="http://placehold.it/960x264/5ec5ce/ffffff"></li>
<li><img src="http://placehold.it/960x264/75aee6/ffffff"></li>
<li><img src="http://placehold.it/960x264/5ec5ce/ffffff"></li>
<li><img src="http://placehold.it/960x264/75aee6/ffffff"></li>
<li><img src="http://placehold.it/960x264/5ec5ce/ffffff"></li>
<li><img src="http://placehold.it/960x264/75aee6/ffffff"></li>
<li><img src="http://placehold.it/960x264/5ec5ce/ffffff"></li>
<li><img src="http://placehold.it/960x264/75aee6/ffffff"></li>
<li><img src="http://placehold.it/960x264/5ec5ce/ffffff"></li>
<li><img src="http://placehold.it/960x264/75aee6/ffffff"></li>
<li><img src="http://placehold.it/960x264/5ec5ce/ffffff"></li>
<li><img src="http://placehold.it/960x264/75aee6/ffffff"></li>
</ul>
</div>
<script src="slide.js"></script>
<script>
Animation.slide({
target: 'slide',
showMarker: true,
marker: true,
showController: true,
setClass: {
marker: 'slide-dot',
active: 'slide-active',
unactive: '',
controllerPrev: 'slide-control-prev',
controllerNext: 'slide-control-next'
}
});
</script>
</body>
</html>