-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscroll.html
More file actions
38 lines (38 loc) · 870 Bytes
/
scroll.html
File metadata and controls
38 lines (38 loc) · 870 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>QUnit Example</title>
<link rel ="stylesheet" href="scroll.css">
</head>
<style>
* {
margin: 0;
padding: 0;
}
#scroll >div {
background: #fec;
text-align: center;
}
</style>
<body>
<div id="scroll">
<div>这里是编号为1的轮播资源</div>
<div>这里是编号为2的轮播资源</div>
<div>这里是编号为3的轮播资源</div>
<div>这里是编号为4的轮播资源</div>
<div>这里是编号为5的轮播资源</div>
<div>这里是编号为6的轮播资源</div>
<div>这里是编号为7的轮播资源</div>
</div>
<script src="scroll.js"></script>
<script>
var scroll = new ScrollPic({
id: 'scroll',
height: 300,
width: 600
});
scroll.init();
</script>
</body>
</html>