File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-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
+ < img id ="ZoomImg_Inside " src ="https://i.ytimg.com/vi/wB5h7VwW8GU/maxresdefault.jpg " width =200/ >
4
+ ________________________________________________________________________________________________________________________________________________________________________________________________________________________________
5
+ < 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 >
6
+
7
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js "> </ script >
8
+ < script src ="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/src/jquery.ez-plus.js "> </ script >
9
+
10
+ < script >
11
+ $ ( '#ZoomImg_Inside' ) . ezPlus ( {
12
+ zoomWindowPosition : "ZoomDiv" ,
13
+ zoomWindowWidth :document . body . clientWidth ,
14
+ zoomWindowHeight :document . body . clientHeight ,
15
+ borderSize : 0 ,
16
+ lensOpacity : 0 ,
17
+ cursor :"none" ,
18
+ scrollZoom : true ,
19
+ minZoomLevel : 0.1 ,
20
+ } ) ;
21
+ </ script >
22
+
23
+
24
+ <!-- ___________________________ (Notes) ______________________________
25
+
26
+ /* "document.body.clientWidth\Height" Seems to be more accurate */
27
+
28
+ zoomWindowWidth:document.body.clientWidth,
29
+ zoomWindowHeight:document.body.clientHeight,
30
+
31
+ zoomWindowWidth:window.innerWidth,
32
+ zoomWindowHeight:window.innerHeight,
33
+
34
+
35
+ _____________________________ (Notes End) _____________________________ -->
You can’t perform that action at this time.
0 commit comments