Solved

Auto linking to a web page

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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 is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

785 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