Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a new URL after 10 seconds automatically 2

Status
Not open for further replies.

iCougari

IS-IT--Management
Jul 30, 2003
13
US
All,

Thanks for looking and reading.

I want to display a web page then after (n) seconds call another webpage and then keep looping between the 2.

This app is for a display on a plasma screen

HTML would be great but if not then ASP.

Any advice or help will be welcomed.

iCougari
 
you should post this in the JavaScript forum

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
You can do this using <meta> tags. Just put this in the head of your document:
Code:
<meta http-equiv="refresh" content="5;url=mynextpage.html" />
To explain the content part:
content="time in seconds;url=where to redirect"

This particular redirect will go to mynextpage.html in 5 seconds.
 

Or you can do it without any JavaScript.

Put this at the top of "page 1":

Code:
<meta http-equiv="refresh" content="10; url=page2.html">

and this at the top of "page 2":

Code:
<meta http-equiv="refresh" content="10; url=page1.html">

The "10" in the line is the number of seconds to wait before doing the redirect.

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top