Hi. I'm working on the following thing... When a person enters a site and the mouse is not moved for 3 seconds, then an action is triggered (a popup, redirection, whatever). How can I count these 3 seconds in which the mouse is not moved? If the mouse is moved again before the 3 seconds, the countdown should automatically refresh itself and start again when the mouse cursor halts. Thanks, Tintu
You will need to activate a timeout action. And you need to learn how to use it and how you can clear that action again. Google it, there is a lot of information on javascript timeout.