Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form name="redirect">
- <center>
- <font face="Arial"><b>Your site will redirect within<br><br>
- <form>
- <input type="text" size="3" name="redirect2">
- </form>
- seconds</b></font>
- </center>
- <script>
- var targetURL="http://www.RexHacker.Blogspot.com/"
- 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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement