Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: [flasher] Redirect script
From: Jason Ralston
Date: Mon, 22 Jan 2001 20:54:18 -0000

<snip>
Does anyone have a simple redirect script that can be added to a page, that
sends the user to another domain???
</snip>

Ian,

straight from macromedia's site (from their flash detection scheme):

In the <HEAD> tag of the HTML document create a META refresh tag. This is a tag that tells the browser to refresh to another URL after a set amount of time. The tag syntax,

<META HTTP-EQUIV="Refresh" CONTENT="10; URL=alternative.html">,

has two parts that need to be set.

The first is CONTENT which determines how many seconds until the browser refreshes, in this case it is set to 10 seconds. The second part is the URL that it will refresh to, in this case it is set to refresh to the HTML document alternative.html. Only the file name is written because the file resides in the same directory as index.html. This is a relative path or it could also be to an absolute path. An absolute path is the entire path to a document. An example would be //www [dot] my_site [dot] com/alternative [dot] html [dot] 3Eatlists [dot] chinwag [dot] com">http://www [dot] my_site [dot] com/alternative [dot] html [dot] 3Eatlists [dot] chinwag [dot] com


jason ;)




[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]