-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (129 loc) · 3.66 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
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
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>iPage Demo - A Jquery Plugin</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/ipage.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.ipage.js"></script>
</head>
<body>
<a href="http://lufutu.com/ipage-paging-your-list" class="backlink">← Back to 'iPage – Paging your list' Post</a>
<div id="wrapper">
<h1 class="center">Let's paging, let's smarter</h1>
<div id="list-gifts">
<ul class="gifts">
<li class="gift">
<img class="img-gift" src="images/gift1.png" />
<span>Gift Number 1</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift2.png" />
<span>Gift Number 2</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift3.png" />
<span>Gift Number 3</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift4.png" />
<span>Gift Number 4</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift5.png" />
<span>Gift Number 5</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift6.png" />
<span>Gift Number 6</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift7.png" />
<span>Gift Number 7</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift8.png" />
<span>Gift Number 8</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift9.png" />
<span>Gift Number 9</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift10.png" />
<span>Gift Number 10</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift11.png" />
<span>Gift Number 11</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift12.png" />
<span>Gift Number 12</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift13.png" />
<span>Gift Number 13</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift14.png" />
<span>Gift Number 14</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift15.png" />
<span>Gift Number 15</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift16.png" />
<span>Gift Number 16</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift17.png" />
<span>Gift Number 17</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift18.png" />
<span>Gift Number 18</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift19.png" />
<span>Gift Number 19</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift20.png" />
<span>Gift Number 20</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift21.png" />
<span>Gift Number 21</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift22.png" />
<span>Gift Number 22</span>
</li>
<li class="gift">
<img class="img-gift" src="images/gift23.png" />
<span>Gift Number 23</span>
</li>
</ul>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
$("ul.gifts").ipage({
pagenumber: 1,
root : 'ul.gifts',
numPerPage : 5 ,
children: 'li.gift',
numButton: 5,
nextButtonText: '>',
prevButtonText: '<',
firstButtonText: '«',
lastButtonText: '»',
toolbarPosition: 'both'
});
});
</script>
</body>
</html>