forked from Gix075/donkeyGallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery-demo.html
141 lines (120 loc) · 4.49 KB
/
gallery-demo.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
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html>
<head>
<!-- donkeyGallery - [v1.2.1] - DemoPage -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>donkeyGallery</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="dnk-gallery/css/jquery.donkeyGallery.css">
<link rel="stylesheet" href="dnk-gallery/css/jquery.fancybox.css">
<!-- TRY THE PACKED AND MIN CSS (with gallery and fancybox style in one single file)
<link rel="stylesheet" href="dnk-gallery/css/jquery.donkeyGallery.packed.min.css">
-->
<style>
body {
font-family: arial, sans-serif;
color: #ccc;
margin:0;
padding: 0;
background-color: #333;
}
h1 {
font-size: 5em;
padding: 0;
margin: 40px 0 0 0;
font-weight: 300;
}
h2 {
font-size: 3em;
padding: 0 0 20px 0;
margin: 0 0 40px 0;
font-weight: 300;
color: #ccc;
border-bottom: 1px solid #ccc;
}
#demos-wrapper {
width: 70%;
max-width: 1300px;
margin: 0 auto;
}
.demo {
margin-bottom: 40px;
}
</style>
</head>
<body>
<section id="demos-wrapper">
<h1>donkeyGallery</h1>
<h2>demo page</h2>
<p>Put this page on your server and try donkeyGallery.<br>See our example galleries and try to configure your own.</p>
<div class="demo" id="demo-1">
</div>
<div class="demo" id="demo-2">
</div>
<div class="demo" id="demo-3">
</div>
</section>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="dnk-gallery/js/helper-plugins/jquery.fancybox.js"></script>
<script src="dnk-gallery/js/helper-plugins/easy-pagination.js"></script>
<script src="dnk-gallery/js/jquery.donkeyGallery.js"></script>
<!-- TRY THE PACKED AND MIN PLUGIN (with gallery, easy paginate and fancybox plugins in one single file)
<script src="dnk-gallery/js/jquery.donkeyGallery.packed.min.js"></script>
-->
<script>
$(function() {
$("#demo-1").donkeyGallery({
galleryPath : "dnk-gallery/images/gallery-demo-1/",
subdomain: "",
style: "squared",
color: "gray",
thumbs: {
thumbW: 100,
thumbH: 100,
thumbsGen: false
},
});
$("#demo-2").donkeyGallery({
galleryPath : "dnk-gallery/images/gallery-demo-2/",
subdomain: "",
style: "tin-squared",
color: "gray",
thumbs: {
thumbW: 100,
thumbH: 100,
thumbsGen: false
},
fancybox : {
active: true,
galleryGroup: 'demo2'
},
pagination: {
active: true,
pageItems: 5
}
});
$("#demo-3").donkeyGallery({
galleryPath : "dnk-gallery/images/gallery-demo-3/",
subdomain: "",
style: "circle",
color: "white",
thumbs: {
thumbW: 100,
thumbH: 100,
thumbsGen: false
},
fancybox : {
active: true,
galleryGroup: 'demo2'
},
pagination: {
active: true,
pageItems: 5
}
});
});
</script>
</body>
</html>