idle timer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Leo Smith
    New Member
    • Mar 2007
    • 45

    idle timer

    Hello,

    I would like to find out if anyone has setup a page to track if a page has been idle for a set amount of time. The timer would need to reset anytime something was done on the page. I have done this kind of thing with a windows application by watching the idle event, and by monitoring the root message loop. I am not as familar with the JavaScript event manager to know where to attach the event watcher to cover all events without setting it to happen on all objects. This seems a bit much.


    Thanks,

    Leo Smith
    Programmer/Analyst Supervisor
  • rnd me
    Recognized Expert Contributor
    • Jun 2007
    • 427

    #2
    document.onkeyp ress and document.onmous emove should cover your bases. they fire whenever any element is interacted with.

    Comment

    Working...