Arhivă pentru forum script

Script #3

Posted in scripturi with tags , , on Ianuarie 19, 2010 by andreizm

De data aceasta m-am gandit sa pun un script de redirectionare. Va asigur ca merge fara nici o indoiala.

<head>
<script type="text/javascript">
var contor=5
var timp
function functie()
{
document.getElementById('afisare').value=contor
if (contor == 0) { parent.location.href="ADRESA SITE/FORUM" }
contor=contor-1

timp=setTimeout("functie()",1000)
}
</script>
</head>

<body onLoad="functie()">
Vei fi redirectionat in <input type="text" id="afisare"> secunde
</body>

</html>