-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.pinchzoom.html
63 lines (47 loc) · 1.46 KB
/
index.pinchzoom.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
<!DOCTYPE html>
<html>
<head>
<title>owl.carousel+Pinchzoom.js Demo</title>
<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">
<!-- Owl Carousel -->
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/style.pinchzoom.css">
</head>
<body>
<div class="slider-wrapper">
<div id='J_slider' class="owl-carousel">
<div class="item J_pinch_zoom">
<img src="images/1.jpg">
</div>
<div class="item J_pinch_zoom">
<img src="images/2.jpg">
</div>
<div class="item J_pinch_zoom">
<img src="images/3.jpg">
</div>
<div class="item J_pinch_zoom">
<img src="images/4.png">
</div>
</div>
</div>
<!-- <div class="J_pinch_zoom">
<img src="images/1.jpg"/>
</div> -->
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script type="text/javascript" src="js/pinchzoom.js"></script>
<script type="text/javascript">
$(function () {
$("#J_slider").owlCarousel({
items: 1,
autoWidth:true,
center: true
});
// $('.J_pinch_zoom').each(function () {
// new RTP.PinchZoom($(this), {});
// });
})
</script>
</body>
</html>