Auto Redirect

[Total: 0    Average: 0/5]

This shows how to have an autoredirect page.

Head Code:

<META content="30;url='http://www.js-examples.com/js/'" http-equiv=refresh delay="30">

Body Code:

<script type=text/javascript>
function goNow() {
  document.location=_l;
}
function setUp() {
  setTimeout("goNow()",_time); // 3 seconds
}
var _l = "http://www.js-examples.com/js/";
var _time = 3000; // msecs.
onLoad='setUp()';
</script>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *