-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
127 lines (116 loc) · 2.32 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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>HTML ITEM PAGINATION - A HTML ELEMENT PAGINATOR</title>
<meta name="description" content="HTML ITEM PAGINATION - A HTML ELEMENT PAGINATOR">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>
HTML ITEM PAGINATION - A HTML ELEMENT PAGINATOR
</h1>
<h3>
This is a demo page created using jQuery and hip.js!
</h3>
<div id="html-item-pagination">
<div class="hip-item">
Content 1
</div>
<div class="hip-item" data-tags="tag1 tag2">
Content 2
</div>
<div class="hip-item">
Content 3
</div>
<div class="hip-item">
Content 4
</div>
<div class="hip-item" data-tags="tag1 tag3">
Content 5
</div>
<div class="hip-item" data-tags="tag2">
Content 6
</div>
<div class="hip-item">
Content 7
</div>
<div class="hip-item" data-tags="tag1 tag5">
Content 8
</div>
<div class="hip-item">
Content 9
</div>
<div class="hip-item" data-tags="tag3 tag2">
Content 10
</div>
<div class="hip-item">
Content 11
</div>
<div class="hip-item">
Content 12
</div>
<div class="hip-item">
Content 13
</div>
<div class="hip-item">
Content 14
</div>
<div class="hip-item">
Content 15
</div>
<div class="hip-item">
Content 16
</div>
<div class="hip-item">
Content 17
</div>
<div class="hip-item">
Content 18
</div>
<div class="hip-item">
Content 19
</div>
<div class="hip-item">
Content 20
</div>
<div class="hip-item">
Content 21
</div>
<div class="hip-item">
Content 22
</div>
<div class="hip-item">
Content 23
</div>
<div class="hip-item">
Content 24
</div>
<div class="hip-item">
Content 25
</div>
<div class="hip-item">
Content 26
</div>
<div class="hip-item">
Content 27
</div>
<div class="hip-item">
Content 28
</div>
<div class="hip-item">
Content 29
</div>
<div class="hip-item">
Content 30
</div>
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="lib/hip.js"></script>
<script>
jQuery(document).ready(function ($) {
$("#html-item-pagination").hip({itemHeight:'200px',filter:true,filterPos:'center'});
});
</script>
</body>
</html>