View Full Version : Help please...
-Dannie
06-11-2005, 10:29 PM
Hey!
Does anyone know the code so when you go on a site it says like:
Site Name
We are now closed. You will be re-directed to (other site name) in 5 seconds.
Then it does redirect. Anyone know?
Thanks :D
Sygon
07-11-2005, 02:27 AM
Its basic javascript get it from codebelly.com or somin or u can use ur cpanel to redirect it
-Dannie
07-11-2005, 01:31 PM
Thanks Alot :)
Mike or TOX!C, my wonderful men, lock this please :)
Put this meta tag into the head of your document.
<meta http-equiv="refresh"
content="how long the user waits;
URL=address of site the user will be redirected to here">
So:
<meta http-equiv="refresh" content="5; URL=index2.htm">
Then you'll just have to make the text saying that they'll be redirected.
I'll make an example of something you could use for that:
<div style="width:100%; text-align: center">
<div
style="
width: 350px;
padding: 20px 20px 20px 20px;
background-color: #dfdfdf;
font-family: verdana, tahoma;
font-size: 12px;
text-align: inherit;
margin-right: auto;
margin-left: auto;
border: 1px solid #000
">
We are now closed.<br />You will be re-directed to (other site name) in 5 seconds.
</div>
</div>
Hope that helped.
splintercell!
07-11-2005, 06:44 PM
or.. the php way..
<?php
header("Location: index2.html");
?>
EDIT: Sorry ive just noticed you want a delay in which case this code wouldnt work ;)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.