onmousewheel="return bbimg(this)"
function bbimg(o){ var zoom=parseInt(o.style.zoom, 10)||100; zoom+=event.wheelDelta/12; if (zoom>0) o.style.zoom=zoom+'%'; return false;}
JS 鼠标滚动放大
最新推荐文章于 2023-01-16 11:27:47 发布
onmousewheel="return bbimg(this)"
function bbimg(o){ var zoom=parseInt(o.style.zoom, 10)||100; zoom+=event.wheelDelta/12; if (zoom>0) o.style.zoom=zoom+'%'; return false;}