Re: Immediate Redirection

by "Astrid" <astrid(at)infusion.com.au>

 Date:  Mon, 11 Sep 2000 12:00:35 +0800
 To:  "HWG Techniques List" <hwg-techniques(at)hwg.org>,
<i.am.ben(at)sympatico.ca>
  todo: View Thread, Original
Ben,

Place the following Javascript in the HEAD section of the HTML doc you wish
to redirect from, and it should achieve the effect you are after:

<SCRIPT language="JavaScript1.1">
<!--
location.replace("type the replacement URL here");
//-->
</SCRIPT>

This redirection will be affected before the browser starts to render the
body of the document, and the location.replace method replaces the URL in
the Browser's history, such that the redirection page itself is removed from
the "back" or "history" functions in the browser.

--
Cheers, Astrid.

Astrid A. Miller
Infusion Web Productions
http://www.infusion.com.au
PO Box 3236 Broadway, Nedlands WA 6009, Australia.
Ph: (08) 9386 9993  Fax: (08) 9389 6993  Mobile: 0402 123 762
Email: astrid(at)infusion.com.au

Driftwood Beach House
http://www.driftwoodbeachhouse.com.au

Fine Art Prints
http://www.infusion.com.au/fineart

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA