FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » mouse movement detection?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: mouse movement detection? [message #173881 is a reply to message #173866] Wed, 11 May 2011 13:34 Go to previous messageGo to previous message
Jeff North is currently offline  Jeff North
Messages: 58
Registered: November 2010
Karma:
Member
On Wed, 11 May 2011 04:00:09 -0000, in comp.lang.php
jimp(at)specsol(dot)spam(dot)sux(dot)com
<97ep98-c2m(dot)ln1(at)mail(dot)specsol(dot)com> wrote:

> | Jeff North <jnorthau(at)yahoo(dot)com(dot)au> wrote:
> | > On Tue, 10 May 2011 09:57:16 -0700, in comp.lang.php richard
> | > <member(at)newsguy(dot)com>
> | > <5jmrvpnl392w$(dot)dlg(at)evanplatt(dot)sux> wrote:
> | >
> | >>| Just curious to know if PHP, or other script language, has a method of
> | >>| detecting mouse movement.
> | >>| I had left a website page open all night and in the morning found I had
> | >>| been transferred to another page that said my mouse had been idle for 10
> | >>| minutes.
> | >>| I have a hunch that it was probably due more to nothing happening on the
> | >>| page for a couple of hours.
> | >
> | >
> | > It could be javascript and timers or the page header has a refresh
> | > setting <meta http-equiv="refresh" content="600">
> |
> | Can't be done with just an HTML refresh.

True. You would need to define which page to direct to:
<meta http-equiv="refresh" content="2;url=refresh1.htm">

Works with FF4 (although FF complains), IE9, Opera, Safari.

This is an old technique for page refreshes before the days of AJAX.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New PHP tutorial
Next Topic: Nslookup
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 09:47:15 GMT 2024

Total time taken to generate the page: 0.04717 seconds