Sample code for changing image size with mouse wheel src="http://files.jb51.net/file_images/article/201311/20131120101711.png" style="zoom:1;" onmousewheel='return onWheelZoom(this)'>
<script> <br>function onWheelZoom(obj){ <br> zoom = parseFloat(obj.style. zoom); <br> tZoom = zoom (event.wheelDelta>0 ? 0.05 : -0.05); <br> if( tZoom > 1 || tZoom<0.1 ) return true; <BR> obj.style.zoom=tZoom ; <BR> return false; <BR>} <BR></script>