I am trying to focus and blur a flash file because I am using the scrollwheel in there… But the blur does not work… even when I try to set focus to a different element or trigger a click. Does anybody know a good solution for this?
$(document).ready(function() {
$('#ebookContainer').hover(
function () {
this.onmousewheel = function(){
return false
};
$('#ebook').focus();
},
function () {
this.onmousewheel = function() {
return true;
}
$('#ebook').blur();
}
);
});