Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse Control

Status
Not open for further replies.

kgreer

MIS
Joined
Jul 18, 2003
Messages
155
Location
US
I have two frames on a page, one frame is a set of links that call a page to be displayed in the second frame. What I am trying to do is capture the mouse movement from the user. If the mouse is idle for a certain period I want to reload the whole page. The problem I have is that when I load the second page witha PDF or a PPT file or something else, then I loose the code to the page.

All help is appreciated.
 
You could set up a function onload to refresh the page after 15 seconds or so, and then use:
Code:
element.onmousemove = doSomething;
to reset the counter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top