
30/05/2009, 06:26
|
 | | | Fecha de Ingreso: mayo-2008 Ubicación: Santiago, Chile
Mensajes: 749
Antigüedad: 16 años, 11 meses Puntos: 12 | |
Variable var targetURL= es posible poner algo similar al PHP_SELF en
var targetURL=
----------------------
<SCRIPT>
<!--
//change below target URL to your own
var targetURL="URL"
//change the second to start counting down from
var countdownfrom=2
var currentsecond=document.redirect.redirect2.value=co untdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}
countredirect()
//-->
</SCRIPT>
Saludos =) |