It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Refreshing iframes

Refreshing iframes

Postby Earl on Wed Nov 16, 2005 10:20 pm

Can I make a script that refreshes an iframe like every 20 seconds?
Earl
 
Posts: 7
Joined: Wed Nov 16, 2005 10:12 pm

Postby johneva on Wed Nov 16, 2005 11:15 pm

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
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Postby Phate on Thu Nov 17, 2005 6:10 am

that would refresh every 5 seconds btw
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby johneva on Thu Nov 17, 2005 11:16 am

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" >
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Postby Earl on Sat Nov 19, 2005 10:33 am

It works perfectly, thank you very much guys.
Earl
 
Posts: 7
Joined: Wed Nov 16, 2005 10:12 pm


Who is online

Users browsing this forum: No registered users and 3 guests

cron