Disable mousewheel scroll on swf files?
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-03-15T04:33:32Z
Indexed on
2010/03/15
4:39 UTC
Read the original article
Hit count: 176
I am using the scroll in a swf file.. is there anyway to disable the scroll mousewheel on all browsers.. I get it working for IE and FF but Webkit is not working:
$(document).ready(function() {
$("#ebook").hover(
function () {
document.onmousewheel = function(){
return false
};
console.log('On');
},
function () {
console.log('Out');
document.onmousewheel = function() {
return true;
}
}
);
});
© Stack Overflow or respective owner