This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
example_thumbnails_only.html
66 lines (62 loc) · 1.74 KB
/
example_thumbnails_only.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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Thumbnails only</title>
</head>
<body>
<link rel="stylesheet" href="css/kGallery.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="../kgallery-demo/css/kGallery_ie6.css"/>
<![endif]-->
<style>
#gallery-wrapper{height: 400px; width: 400px; text-align: center;}
.kSlideshowWrapper{
width: 400px;
height: 274px;
}
.kThumbnailsInnerWrapper{
height: 80px;
width: 324px;
}
.kThumbnailsWrapper{
width: 324px;
height: 80px;
margin: 0 auto;
}
.kThumbnailsPage{
width: 324px;
text-align: left;
}
.kThumbnailsPage img{
padding: 1px;
border: 1px solid black;
margin: 2px;
}
.kThumbnailsPage .selectedThumbnail{
border-color: #aaaaff;
}
.kSlideshowItemDiv img{
z-index: 400;
}
</style>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="js/kGallery-full.min.js"></script>
<a href="https://github.com/andruhon/kGallery">https://github.com/andruhon/kGallery</a>
<h2>Slideshow only (kThumbnailPicker)</h2>
<script type="text/javascript">
$(document).ready(function() {
gallery = kThumbnailPicker({
wrapper: '#thumbnails-only',
dataSource: 'files/gallery.json',
startItem: 0
});
});
</script>
<div style="width: 400px;">
<div id="thumbnails-only">
</div>
</div>
</body>
</html>