-
Notifications
You must be signed in to change notification settings - Fork 0
/
imagezoom.html
29 lines (22 loc) · 900 Bytes
/
imagezoom.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
<!doctype html>
<html>
<head>
<title>Pinchzoom.js Demo</title>
<link rel="stylesheet" href="zoomstyle.css" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<script type="text/javascript" src="http://manuelstofer.github.io/pinchzoom/dist/pinch-zoom.umd.js"></script>
</head>
<body>
<div class="page pinch-zoom-parent">
<div class="pinch-zoom">
<img src="https://firebasestorage.googleapis.com/v0/b/bestcheer-32f35.appspot.com/o/images%2F-LXk27mMcUpoLEXJr9Cu.jpg?alt=media&token=5117a385-f841-4818-8b8e-f2948096afc6"/>
</div>
</div>
<h1>Outside Box</h1>
<script type="text/javascript">
var el = document.querySelector('div.pinch-zoom');
new PinchZoom.default(el, {});
</script>
</body>
</html>