Redirect Url - JavaScript

Occasionally, you may wish to have a redirect page that pauses for a few seconds before sending the visitor off to the destination. For example, there may be important text on the redirect page you wish the visitor to get a chance to read, or a banner ad to see before proceeding. This redirect script understands that, and pauses for any given seconds before navigating to the target page!

Place this in your body tag:

Code:
<form name="redirect">
 <center>
 <font face="Arial"><b>You will be redirected to the script in<br><br>
 <form>
 <input type="text" size="3" name="redirect2">
 </form>
 seconds</b></font>
 </center>

Place this in your head tags:

Code:
<script>
 <!--

 /*
 Count down then redirect script
 By JavaScript Kit (http://javascriptkit.com)
 Over 400+ free scripts here!
 */

 //change below target URL to your own
 var targetURL="http://yournewurl.com"
 //change the second to start counting down from
 var countdownfrom=10

 var currentsecond=document.redirect.redirect2.value=countdownfrom+1
 function countredirect(){
 if (currentsecond!=1){
 currentsecond-=1
 document.redirect.redirect2.value=currentsecond
 }
 else{
 window.location=targetURL
 return
 }
 setTimeout("countredirect()",1000)
 }

 countredirect()
 //-->
 </script>
m121ban2





mp

dotme NEW .ME There’s a story inside each one of us, waiting to be told. Tell yours to the world with .ME -- the Top Level Domain that’s all about you!

register domain names Domain Sales

.com $8.00

.info $1.99

.net $7.50