I have a bug using the jquery.mousewheel plugin where it will not recognize when I spin the wheel up. For example I try this :
jQuery(function($) {
$('#header')
.bind('mousewheel', function(event, delta) {
var dir = delta > 0 ? 'Up' : 'Down';
console.log (dir);
return false;
});
});
I only get Down no matter which way I spin the wheel. What could be causing this bug? Anyone else encountered this? Any ideas where I could start looking or other code I could paste in to help debug.
I am using jQuery 1.7.1
The changelog for mousewheel says “# 3.0.6 Fix issue with delta being 0 in Firefox”. Try the latest version.