Auto Re-direct

  • Thread starter Thread starter John Parker
  • Start date Start date
Here is one example. 10000 is a time (it's 10 seconds)
which will be waited until browser is automatically moved
to another page. So you can change the number 10000 to 0
and browser will be moved right away to another page.

You should make also a link if redirection is not working.


<head>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
redirTime = "10000";
redirURL = "http://www.123.test/otherpage/";
function redirTimer() { self.setTimeout
("self.location.href = redirURL;",redirTime); }
// End -->
</script>
</head>

<body onLoad="redirTimer()">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top