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 #173855 is a reply to message #173854] Tue, 10 May 2011 19:42 Go to previous messageGo to previous message
P E Schoen is currently offline  P E Schoen
Messages: 86
Registered: January 2011
Karma:
Member
"richard" wrote in message news:1l6ipxzio1vee$(dot)dlg(at)evanplatt(dot)sux...

> On Tue, 10 May 2011 21:11:39 +0200, Gregor Kofler wrote:

>> No server side script can detect the movement of a mouse
> attached to a client computer.
>
>> You shouldn't believe everything you read on the internet...
>
>> All you did was not creating a request which could be detected
>> by the server (though this request could be invoked by JS without
>> explicit interaction, too).

> that's what I figured. Probably done through a cookie check.

It would be interesting to check the source of the HTML of the original web
page. The server-side PHP script could generate JavaScript that invokes a
timer and also an event handler for mouse movement.

http://www.toknowmore.net/e/1/javascript/javascript-onmousemove.php

The mousemove event would reset the timer, so if no movement was detected,
the timeout would occur and the client-side webpage could post to the
server, which would then send the new web page to the client.

Paul
[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: Fri Nov 22 18:59:23 GMT 2024

Total time taken to generate the page: 0.04614 seconds