trovato questo![]()
codice:<script language="JavaScript"> var countDownInterval=20; </script> <p align="center"><span style="text-decoration: none; font-family: Verdana; font-size: 8pt; color: rgb(0,0,255);"> <script> var countDownTime=countDownInterval+1; function countDown(){ countDownTime--; if (countDownTime <=0){ countDownTime=countDownInterval; clearTimeout(counter) window.location.reload() return } if (document.all) document.all.countDownText.innerText = countDownTime+" "; else if (document.getElementById) document.getElementById("countDownText").innerHTML=countDownTime+" " else if (document.layers){ //QUI SOTTO PUOI CAMBIARE LA SCRITTA document.c_reload.document.c_reload2.document.write('Questa pagina si <span style="text-decoration: none">aggiornerà</span> tra <b id="countDownText">'+countDownTime+' [/b] secondi') document.c_reload.document.c_reload2.document.close() } counter=setTimeout("countDown()", 1000); } function startit(){ if (document.all||document.getElementById) //QUI SOTTO PUOI CAMBIARE LA SCRITTA document.write('Questa pagina si <span style="text-decoration: none">aggiornerà</span> tra <b id="countDownText">'+countDownTime+' [/b] secondi') countDown() } if (document.all||document.getElementById) startit() else window.onload=startit </script></span></p>