-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (29 loc) · 745 Bytes
/
Copy pathindex.html
File metadata and controls
34 lines (29 loc) · 745 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="JS/jquery-1.11.0.min.js"></script>
<script src="JS/iPages-1.0.0.min.js"></script>
<script>
$(document).ready(function(){
myPages = new iPage({
elem: '#pages',
limit: 5, //分页数
curr: 1, //初始页
count: 200, //数据总数,
hidenum:15,
topages:true,
jump: function(obj, first) {
console.log(obj);
}
});
})
</script>
</head>
<body>
<div class="box">
</div>
<div class="iPages" id="pages"></div>
</body>
</html>