-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex1.html
120 lines (116 loc) · 3.88 KB
/
index1.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
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
112
113
114
115
116
117
118
119
120
<html>
<head>
<script src="js/cSlider.js"></script>
<script>
window.ontouchmove = function (e) {
e.preventDefault();
};
var t = null;
window.onload = function(){
t = new cSlider({
renderTo: document.getElementById("demo"),
//imageArray: ["http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider1.jpg", "http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider2.jpg", "http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider3.jpg", "http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider4.jpg"],
imageArray: ["images/img1.jpg", "images/img2.jpg", "images/img3.jpg", "images/img4.jpg", "images/img5.jpg"],
//animationType: cSlider.animationType.dizzleLeft,
width: 1024,
height: 400,
animSpeed: 1000,
pauseTime: 3000,
controlNav: true,
directionNav: true,
transitionOrder: [
cSlider.animationType.dizzleLeft,
/*
cSlider.animationType.bounceIn,
cSlider.animationType.bounceOut,
cSlider.animationType.bounceDown,
cSlider.animationType.bounceUp,
cSlider.animationType.curtainIn,
cSlider.animationType.curtainOut,
cSlider.animationType.slideIn,
cSlider.animationType.slideOut,
cSlider.animationType.slideDown,
cSlider.animationType.slideUp,
cSlider.animationType.fadeOut,
cSlider.animationType.fadeIn,
*/
//cSlider.animationType.randomBubble
]
});
};
</script>
<style>
body {
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333333;
background-color: #ffffff;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block;
}
audio, canvas, video {
display: inline-block;
*display: inline;
*zoom: 1;
}
.sigaSlider{
overflow:hidden;
margin: 25px auto;
max-width: 1024px;
width:1024px;
-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
box-shadow: 0px 1px 5px 0px #4a4a4a;
border: 1px solid #000;
}
.sigaSlider canvas{
display:inline-block;
}
.sigaSlider ul.nav{
position: absolute;
z-index: 100;
bottom: 10px;
right: 10px;
margin: 0px;
padding: 0px;
}
.sigaSlider ul.nav li{
list-style: none;
float: left;
width:20px;
height: 20px;
background-image: url(css/bullets.png);
background-position: 0px 0px;
cursor: pointer;
}
.sigaSlider ul.nav li.active
{
background-position: 0px 18px;
}
.sigaSlider div.next, .sigaSlider div.previous{
width:30px;
height: 30px;
background-image: url(css/arrows.png);
background-position: 0px 0px;
position: absolute;
z-index: 101;
top: 45%;
cursor: pointer;
}
.sigaSlider div.next{
right:15px;
background-position: -30px 0px;
}
.sigaSlider div.previous{
left:15px;
}
</style>
</head>
<body>
<div id="demo" class="sigaSlider">
</div>
</body>
</html>