jquery-mousewheel 鼠标滚轮事件
GitHub
https://github.com/brandonaaron/jquery-mousewheel
jQuery(function($) { $('div.mousewheel_example') .bind('mousewheel', function(event, delta) { var dir = delta > 0 ? 'Up' : 'Down', vel = Math.abs(delta); $(this).text(dir + ' at a velocity of ' + vel); return false; }); });