| View previous topic :: View next topic |
| Author |
Message |
Earl
Joined: 16 Nov 2005 Posts: 7
|
Posted: Wed Nov 16, 2005 11:20 pm Post subject: Refreshing iframes |
|
|
| Can I make a script that refreshes an iframe like every 20 seconds? |
|
| Back to top |
|
 |
|
|
johneva 500+ Club

Joined: 29 Oct 2005 Posts: 561 Location: Stafford, England
|
Posted: Thu Nov 17, 2005 12:15 am Post subject: Re: Refreshing iframes |
|
|
Yep you can see if any of this helps you.
<IFrame Src=" frame.html" Scrolling=No Frameborder=0
Marginheight=0 Marginwidth=0 Width=320 Height=240>
Then make a page called `frame.html' , and have it just contain the following:
<Meta Http-equiv=" Refresh" Content=" 5" >
<Img Src=" ISpy.jpg" >
Here is the page I found it on just in case.
http://www.surveyor.com/support/ispy/images.htm
Hope this helps |
|
| Back to top |
|
 |
Phate 500+ Club

Joined: 21 Nov 2004 Posts: 818 Location: 127.0.0.1
|
Posted: Thu Nov 17, 2005 7:10 am Post subject: Re: Refreshing iframes |
|
|
| that would refresh every 5 seconds btw |
|
| Back to top |
|
 |
johneva 500+ Club

Joined: 29 Oct 2005 Posts: 561 Location: Stafford, England
|
Posted: Thu Nov 17, 2005 12:16 pm Post subject: Re: Refreshing iframes |
|
|
Hia
Sorry I forgot to say that you will have change it to the refesh rate you would like in the second part.
Like so
<Meta Http-equiv=" Refresh" Content="20" >
<Img Src=" ISpy.jpg" > |
|
| Back to top |
|
 |
Earl
Joined: 16 Nov 2005 Posts: 7
|
Posted: Sat Nov 19, 2005 11:33 am Post subject: Re: Refreshing iframes |
|
|
| It works perfectly, thank you very much guys. |
|
| Back to top |
|
 |
|