?
Solved

Auto linking to a web page

Posted on 2000-05-10
3
Medium Priority
?
195 Views
Last Modified: 2010-04-09
I need to create a page that automatically goes to , and opens another web page (for redirecting due to domain name changes). I would like it to take a few seconds (so the user can read the message and be reminded to update their links etc), and then automatically open the new site.
I have seen this but can't work out how to do it. I use Frontpage 2000. thanks
0
Comment
Question by:Radar
3 Comments
 
LVL 1

Expert Comment

by:ManoloMA
ID: 2799050
You can try with:
<SCRIPT>
function change_URL(){
 top.location = 'theotherURL.htm';
}

setTimeOut("change_URL",5000)

</SCRIPT>

Manolo
0
 
LVL 8

Accepted Solution

by:
xabi earned 80 total points
ID: 2799062
The right way to do it (And the most compatible with all browsers is:

<META HTTP-EQUIV="REFRESH" CONTENT = "time-in-seconds; URL=new-url">

example:

<META HTTP-EQUIV="REFRESH" CONTENT = "5; URL=http://www.foo.com">

This meta tag must be in the <head> section:

example:

..
..
<head>
..
..
<meta ......
</head>
..
..

xabi



0
 

Author Comment

by:Radar
ID: 2799138
Thanks, I knew it would be simple - but do you think I could find a reference to it!.


Cheers, enjoy the handful of points - I had better go to the networking section and earn some back!.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

599 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