Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1045 How can I automatically redirect the user to another page as soon as they hit my page?

You are here: irt.org | FAQ | JavaScript | Redirect | Q1045 [ previous next ]

Try:

<html>
<head>
<script language="JavaScript"><!--
if (document.images)
    location.replace('http://somewhere.com/page.htm')
else
    location.href = 'page.htm';
//--></script>
<noscript>
<meta http-equiv="Refresh" content="3;url=http://somewhere.com/page.htm">
</noscript>
</head>
</html>

Feedback on 'Q1045 How can I automatically redirect the user to another page as soon as they hit my page?'

©2018 Martin Webb