欢迎加Q群70210212 | 77813547

http://www.lovewebgames.com

This sample uses the onmousewheel event to expand or contract the picture below.

Move the cursor over the picture and roll the mouse wheel up and down.

Size = 100%
sprinter


[Right-click and choose View Source from the shortcut menu.]

下载代码说明
X关闭

基于jquery的滚动鼠标放大缩小图片效果 兼容火狐

今天要出个鼠标滚动放大缩小图片的功能,看似很简单,从网上一搜,出现的都是onmousewheel的例子,全部只支持IE浏览器,结果查出火狐有对应的DOMMouseScroll来处理这个功能