I have several menus in my script, and I want a jquery script that will make the menu hide if the mouse does not move for 3 seconds ..
I know its a real silly question, but I cudnt get any answer anywhere.
its not a proper script but i just want if something happens like this ??
$("#target").notmousemove(function(event) { $('#menu').hide(); },delay(500));
It will be very helpful if someone answers my request.
I made the menu disappear based on the click of a button, but now wud I rather want the menu to hide when the mouse has not been moved for more than 5 seconds ...
user1504287
source share