[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

5 second pause then redirect.

Posted on 2004-09-13
4
Medium Priority
?
171 Views
Last Modified: 2010-04-07
Howdy, I was wondering if anyone had a code snippet out there that displays a page for X seconds and then loads another page.

Thanks, Eric
0
Comment
Question by:EWilson12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 12048843
<Script>
function gothere() {
window.location = "PATH_HERE.HTML"
setTimeout("gothere()", 5000)
}
</Script>

<body onLoad="gothere()">
0
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 2000 total points
ID: 12048950
Sorry ignore my Above Post.
Simply use this on that page

<body onLoad="setTimeout('window.location=\'http://www.yahoo.com\'', '5000')">
0
 
LVL 1

Author Comment

by:EWilson12
ID: 12049128
works great thanks ;)
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 12049168
Great I helped.
Thanks for an "A"
0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question