UPDATE:
I had set the "mousemove" event to bind to "window":
$(document).ready(function() {
startTimer();
$(window).bind("mousemove", function()
{ resetTimer(); });
});
That works fine in FF, but IE had some trouble
thank you both for your input. Jimslam your example works great, thats
exactly what i need.
Here's a page timer I'm using - right now it's set to 15 seconds and
displays the current count every second in a div with id "timer".
There's probably a more elegant solution, but this can at least be a
start. The key is clearing the "setTimeout" function when the timer
gets reset, as just sett
Try the regular javascript setTimeout() function and see how that works for
you. I choose to use that over any of the jquery timers I have seen.
ethodaddy <[EMAIL PROTECTED]> wrote:
Hi All,
I'm very new at JQuery and have been messing about with a timer that
will trigger a logout scrip
4 matches
Mail list logo