Solved

Auto linking to a web page

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

743 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

12 Experts available now in Live!

Get 1:1 Help Now