Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Refreshing iframes



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
Earl



Joined: 16 Nov 2005
Posts: 7

PostPosted: Wed Nov 16, 2005 11:20 pm    Post subject: Refreshing iframes Reply with quote

Can I make a script that refreshes an iframe like every 20 seconds?
Back to top
View user's profile Send private message
johneva
500+ Club


Joined: 29 Oct 2005
Posts: 561
Location: Stafford, England

PostPosted: Thu Nov 17, 2005 12:15 am    Post subject: Re: Refreshing iframes Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Thu Nov 17, 2005 7:10 am    Post subject: Re: Refreshing iframes Reply with quote

that would refresh every 5 seconds btw
Back to top
View user's profile Send private message Send e-mail AIM Address
johneva
500+ Club


Joined: 29 Oct 2005
Posts: 561
Location: Stafford, England

PostPosted: Thu Nov 17, 2005 12:16 pm    Post subject: Re: Refreshing iframes Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Earl



Joined: 16 Nov 2005
Posts: 7

PostPosted: Sat Nov 19, 2005 11:33 am    Post subject: Re: Refreshing iframes Reply with quote

It works perfectly, thank you very much guys.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap