can someone give me the script that will make a javascript image refresh every 5 mins please. Thanks
ps. if it makes a difference, the image being shown is linked from another website onto mine and refreshs every 5 mins
Printable View
can someone give me the script that will make a javascript image refresh every 5 mins please. Thanks
ps. if it makes a difference, the image being shown is linked from another website onto mine and refreshs every 5 mins
:huh: "JavaScript image?"
About the refreshing... read this. :)
thanks. thats not quite what i needed but will help me. Sorry about my confusing post. Obviously the image isnt javascript. It refreshs using javascript which is what i meant to say.Quote:
Originally posted by haxor41789@7 April 2004 - 22:43
:huh: "JavaScript image?"
About the refreshing... read this. :)
I am linking this image which refreshs on another web page to my page. Therefore i need my page to refresh at the same time gap as the other page
That's damn near impossible to pull of with JavaScript, since it's client-side.Quote:
Originally posted by hungrylilboy@7 April 2004 - 18:42
I am linking this image which refreshs on another web page to my page. Therefore i need my page to refresh at the same time gap as the other page
The only thing that I can think of is to have a PHP script that checks the time.
the client refreshes every 5 mins. so surely if i simply refresh my image every 5 mins (doesnt have to be the same exact time) the image will be refreshed??
how would the php work?
http://www.chinkii.com/uploads/album...9-headbang.gif
:lol: Your brilliant logic just owned me. :P
As to PHP, I was thinking to synchronize the times between the two servers and compare it, but sometimes the simplest solutions are best. :lol: