Skip to content

Commit 60c7adb

Browse files
authored
Create elevatezoomplus-screenmode.html
1 parent 022a564 commit 60c7adb

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

elevatezoomplus-screenmode.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<div id="ZoomDiv" style="position:fixed; top:0px; left:0px;"></div>
2+
3+
elevatezoomplus-screenmode.html
4+
<img id="ZoomImg_Inside" src="https://i.ytimg.com/vi/wB5h7VwW8GU/maxresdefault.jpg" width=200/>
5+
________________________________________________________________________________________________________________________________________________________________________________________________________________________________
6+
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>2<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
7+
8+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
9+
<script src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/src/jquery.ez-plus.js"></script>
10+
11+
<script>
12+
$('#ZoomImg_Inside').ezPlus({
13+
zoomWindowPosition: "ZoomDiv",
14+
zoomWindowWidth:document.body.clientWidth,
15+
zoomWindowHeight:document.body.clientHeight,
16+
borderSize: 0,
17+
lensOpacity: 0,
18+
cursor:"none",
19+
scrollZoom: true,
20+
minZoomLevel: 0.1,
21+
});
22+
</script>
23+
24+
25+
<!-- ___________________________ (Notes) ______________________________
26+
27+
/* "document.body.clientWidth\Height" Seems to be more accurate */
28+
29+
zoomWindowWidth:document.body.clientWidth,
30+
zoomWindowHeight:document.body.clientHeight,
31+
32+
zoomWindowWidth:window.innerWidth,
33+
zoomWindowHeight:window.innerHeight,
34+
35+
36+
_____________________________ (Notes End) _____________________________ -->

0 commit comments

Comments
 (0)