Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
JS drag the map zoom
no vote
JS drag the map zoom Function initDrag (E) { Var oDragHandle e.target: event.srcElement = Nn6?; Isdrag = true; X e.clientX: event.clientX = Nn6?; Y e.clientY: event.clientY = Nn6?; St = vv.scrollTop; SL = vv.scrollLeft; Document.onmousemove = moveMouse; Return false; } Pp.onmousedown=initDrag; Pp.onmouseup=new Function ("isdrag=false"); Function (bigit) { Pp.style.height = pp.height* (1+rate + PX) ""; Pp.style.width = pp.width* (1+rate + PX) ""; } Function (smallit) { Pp.style.height = pp.height* (1-rate + PX) ""; Pp.style.width = pp.width* (1-rate + PX) ""; } Function (realsize) { Var newImg = new (Image); NewImg.src = pp.src; Pp.style.height = "newImg.height+ px"; Pp.style.width = "newImg.width+ px"; }
sdglkjdssdg
2016-08-23
0
1
No more~