-
Notifications
You must be signed in to change notification settings - Fork 59
/
lightbox-integrated-example.html
30 lines (30 loc) · 1.11 KB
/
lightbox-integrated-example.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
<!doctype html>
<html>
<head>
<title>Lightbox integration example</title>
<style>
#myslider { width:612px; height:612px; }
</style>
</head>
<body>
<div id="myslider">
<a href="http://placekitten.com/g/612/612" rel="0"><img src="http://placekitten.com/g/612/612"/></a>
<a href="https://picsum.photos/612/612" rel="0"><img src="https://picsum.photos/612/612"/></a>
<a href="https://picsum.photos/612/612?random=1" rel="0"><img src="https://picsum.photos/612/612?random=1"/></a>
<a href="https://picsum.photos/612/612?random=2" rel="0"><img src="https://picsum.photos/612/612?random=2"/></a>
</div>
<p>This example is using <a href="http://prinzhorn.github.io/0/">Prinzhorn/0</a> script for providing the lightbox functionality.</p>
</body>
<script src="../dist/simpleslider.min.js"></script>
<script src="http://prinzhorn.github.io/0/0.js"></script>
<script>
var imgSlider = simpleslider.getSlider({
container: document.getElementById('myslider'),
prop: 'left',
init: -612,
show: 0,
end: 612,
unit: 'px'
});
</script>
</html>