View Full Version : Page refresh/reload help
UnderGROUND
21-04-2007, 06:11 PM
Nobody replies to the coding section very much, was a waste of time posting it there.
I have three frames in one page. One with how many users online, another with a game and another which is a nav.
I want the users online to refresh every 30 seconds, or a minute. But the code I have refreshes the whole page, so the game reloads.
I just want the users online to refresh, just one frame. Is there a code? Javascript or html, I don't mind.
Thanks.
Mashi
21-04-2007, 07:21 PM
yes In That Frame Use The META Reload. If That Dont Work Use The Javascript Way =]
Mr.OSH
21-04-2007, 07:22 PM
Just put the Navigation as an iFrame and set the refresh code in that only? :S
Mashi
21-04-2007, 07:29 PM
^^^^^^^^Thats^My^Way^^^^^^^^^^^^^^^^
UnderGROUND
21-04-2007, 07:51 PM
its using php includes... erm, ill try an frame for the thing instead.
Mr.OSH
21-04-2007, 07:55 PM
its using php includes... erm, ill try an frame for the thing instead.
Its much more efficient and will work better. I hope if goes OK for you. :)
UnderGROUND
21-04-2007, 09:57 PM
Nah, it loads it all wrong the page thing. Thanks anyway.
redtom
21-04-2007, 10:01 PM
could you display it using ajax and get the ajax to refresh it every 30 seconds?
UnderGROUND
21-04-2007, 10:11 PM
could you display it using ajax and get the ajax to refresh it every 30 seconds?
Hey, now thats a good idea. Do you have the code? xD I'll check google, but if you could post the code thats good. :D Thank you!
redtom
21-04-2007, 10:14 PM
Hey, now thats a good idea. Do you have the code? xD I'll check google, but if you could post the code thats good. :D Thank you!
Nope soz I dont have the script but I'll have a look around.
UnderGROUND
21-04-2007, 10:15 PM
OK, I'll look aswell. Thanks very much +rep. This just may be what I need.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.