onmousewheel="zoomImg(this)"

just putting this here for myself :P


function zoomImg(obj) {
var zoomarseInt(obj.style.zoom,10) || 100;
zoom += event.wheelDelta / 24;
imgW = obj.clientWidth*zoom/100;
if (zoom>15 && imgW<1200) obj.style.zoom = zoom + "%";
return false;
}

Den 16 years ago
what does it do?
Vex 16 years ago
it lets you zoom in and out on an image by using your mousewheel
Adiene 16 years ago
thats hawt