Hello, I have a series of php pages which refresh to each other every 10 seconds (in a loop) is it possible to delay the header refresh if a mouse is moved?
Since PHP has no control over the pages once they are loaded and as such would not have any control on how often they refresh, this would probably be best answered in the JS forum which can affect the refresh.
How exactly are you establishing the page refresh? Are you outputting a meta tag? A Javascript function?
----------------------------------
Phil AKA Vacunita
----------------------------------
OS-ception: Running Linux on a Virtual Machine in Windows which itself is running in a Virtual Machine on Mac OSx.
lol - I read your post several times before I replied - I cannot imagine the scenario where you have various pages up on the screen at once since your browser can only render one view port at a time ...
Not truly understanding what you're looking for, I would venture suggest that you:
1. set a variable in javascript and set to a value ON or OFF
2. write code to track mouse movement (
3. if mouse move, change set variable to ON or OFF
4. whatever means you are using to launch the page refresh, change it so that it checks the value of set variable and if ON or OFF, decide what to do
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.