JQuery mouse event issue -


i use jquery 1.9.1, , want bind mousewheel event, cant judge mouse or mouse down.

event search information google, shows

$(document).bind('mousewheel', function(event, delta){     console.log(event);     console.log(delta);     return false; }); 

but not work in chrome browser, me solve problem. thanks.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -