File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ < div id ="ZoomDiv " style ="position:fixed; top:0px; left:0px; "> </ div >
2+
3+ Test.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) _____________________________ -->
You can’t perform that action at this time.
0 commit comments