We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


Auto Reload Page

kchoed asked
Medium Priority
Last Modified: 2008-02-01
Hi Experts,

Could you please help me:

If I want to refresh my web page in some seconds, just like :

when 10 sec, go to page 1 ,
when 15 sec, go to page 2,
when 20 sec, go to page 3 and so on.....

Also, I want to maintain my web address, is it posible to use "frame" to refresh the content while maintain at the same web address?

Can html can do this ? if yes, could you please give me some code?

Watch Question

Hi kchoed,

This is possible. The way to do it is by using a meta refresh within each of your pages set to refresh to the next page after 10 seconds.
Once you have all your pages refreshing to each other they can be put in an index.htm frameset on the root of your site.

I will follow with code shortly.

The only thing to keep in mind is that if the pages are refreshed after 10 seconds they may have not loaded properly in that time. Is this an issue?

Unlock this solution and get a sample of our free trial.
(No credit card required)

putting something like the following would work

//on page 1
<META http-equiv="Refresh" content="10;URL=page2.html">

//on page 2 (given that you meant this page lasts 15 seconds)
<META http-equiv="Refresh" content="10;URL=page3.html">

basically just put tthat meta tag in the header of any page you want to wait and then refresh itself goign to a new page.

and for the frame just have this on a main page:
<FRAMESET cols="100%,*" border="0" bordercolor="#0000cc">
      <FRAME name="index" src="page1.html" scrolling="no" noresize>

that makes it so there is no border on the frame (they wont know its a frame) and there is no scrolling the frame or resizing it (good for stopping people from messign up a perfectly good site with their changing stuff)
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.