Return to Snippet

Revision: 6220
at May 9, 2008 04:41 by skywalker


Initial Code
<script>
var limit="0:05"
if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function begintimer(){
if (!document.images)
return
if (parselimit==1)
window.location="http://<?php echo $kayit["link"]; ?>"
else{ 
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+" minutes and "+cursec+" Saniye Bekleyiniz.."
else
curtime=cursec+" Saniye Bekleyiniz.."
window.status=curtime
setTimeout("begintimer()",1000)
}
}
//-->
</script>

Initial URL

                                

Initial Description
It redirects the url with JS.

Initial Title
Javascript URL Redirection...

Initial Tags
url, javascript, js, redirect, link

Initial Language
JavaScript