Pick any events (Mouse and keyboard) reset your timeout with use, do nothing with no activity. John Warner -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Rafael Santos Sent: Sunday, September 10, 2006 2:17 PM To: [JavaScript List] Subject: [Javascript] How to Detect User Inactivity Hey... does any one knows hwo gmail detects its window inactivity and then make a XHR request?? Which event does it uses.. i cant figure out... =O -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060910/37387e1c/attachment.htm>