Here are two examples for auto loading a page - your’s or another’s. Have some fun!
To reload your webpage automatically place this piece of code between your header tags as shown in the example:
Code:
<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT=5>
</HEAD>
CONTENT=5 means wait for 5 seconds to reload the page. You can change this to your likings.
To load visitors to another webpage place this piece of code between your header tags as shown in the example:
Code:
<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT="5;URL=http://www.website.com">
</HEAD>
Just change the url (website.com) to the destination url.
————————————————-
You can also use javascript to perform this instead of the above codes.
Just place this code in your header tags as shown in the example:
Code:
<html> <head> <title>Auto Reload</title> <script language="JavaScript"> <!-- var time = null function move() { window.location = 'http://www.yourwebsite.com' } //--> </script> </head>
and then place this next piece of code in the beginning of your body tag as shown in the example:
Code:
<body onload="timer=setTimeout('move()',3000)">
<p>Here is the content of the page.</p>
</body>
This example of JavaScript will reload a page in 3 seconds. See timer=setTimeout(’move()’,3000), 3000 is number of milliseconds which equals to 3 seconds. If you want to load visitors to another page, change the url,
Code:
window.location = 'http://www.yourwebsite.com'
to the new destination url.




