Solved

Auto linking to a web page

Posted on 2000-05-10
3
150 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 20 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
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.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now