-
Notifications
You must be signed in to change notification settings - Fork 67
/
sample.html
69 lines (63 loc) · 2.82 KB
/
sample.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
<html>
<head>
<title>CloudZoom Sample</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="cloud-zoom.js"></script>
<link rel="stylesheet" href="cloud-zoom.css" type="text/css">
</head>
<style type="text/css">
.basic-sample > div {
width: 300px;
height: 400px;
}
.gallery-sample a.cloud-zoom {
position: relative;
display: block;
}
.gallery-sample a.cloud-zoom img {
display: block;
width: 500px;
text-align: center;
}
.recent_list {
display: -webkit-box;
list-style: none;
}
.recent_list li {
border: 1px solid #ddd;
}
</style>
<body>
<div class="basic-sample">
<h2>Basic Sample</h2>
<div>
<a href="./images/3-Z.jpg" class="cloud-zoom" rel="transparentImage: 'data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', useWrapper: false, showTitle: true, zoomWidth:'300', zoomHeight:'400', adjustY:0, adjustX:10">
<img src="./images/3-M.jpg" title="Sample Title">
</a>
</div>
</div>
<div class="gallery-sample">
<h2>Gallery Sample (with mouseover support for switching images enabled)</h2>
<a href="./images/3-Z.jpg" class="cloud-zoom" id="cloudZoom">
<img src="./images/3-Z.jpg" title="The Title" class="img-responsive">
</a>
<ul class="recent_list">
<li class="photo_container">
<a href="./images/3-Z.jpg" rel="gallerySwitchOnMouseOver: true, popupWin:'./images/3-Z.jpg', useZoom: 'cloudZoom', smallImage: './images/3-Z.jpg'" class="cloud-zoom-gallery">
<img itemprop="image" src="./images/3-M.jpg" class="img-responsive">
</a>
</li>
<li class="photo_container">
<a href="./images/4-Z.jpg" rel="gallerySwitchOnMouseOver: true, popupWin:'./images/4-Z.jpg', useZoom: 'cloudZoom', smallImage: './images/4-Z.jpg'" class="cloud-zoom-gallery">
<img itemprop="image" src="./images/4-M.jpg" class="img-responsive">
</a>
</li>
<li class="photo_container">
<a href="./images/5-Z.jpg" rel="gallerySwitchOnMouseOver: true, popupWin:'./images/5-Z.jpg', useZoom: 'cloudZoom', smallImage: './images/5-Z.jpg'" class="cloud-zoom-gallery">
<img itemprop="image" src="./images/5-M.jpg" class="img-responsive">
</a>
</li>
</ul>
</div>
</body>
</html>