jQuery : mousemove on 'body', and avoid 'menu' element
I tried this :
$('body').not('#menu').bind('mousemove', function(e){
but it didn't work out...
Try this:
$('body').bind('mousemove', function(e){
// Your Code to handle Mouse Move Globally.
});
$('#menu').bind('mousemove', function(e){
// Your Code to handle Mouse Move on the #Menu.
//##################
e.stopPropagation();
});
精彩评论