Citation:
//timer
var secs;
var timerID = null;
var delay = 1000;
function InitializeTimer(seconds) {
// Set the length of the timer, in seconds
secs = seconds;
Start();
}
function Start() {
if(secs==0) {
document.writeln('<meta http-equiv="refresh" content="0; url=../vupop.php" >;
}
else {
self.status = secs;
secs = secs - 1;
timerID = self.setTimeout("Start()", delay);
}
}
InitializeTimer(10);
malheureusement, quand je lance ma page, rien ne s´affiche (elle reste blanche).. cette page devrait afficher plein d´autres trucs (quand j´enleve le code de ce timer tout se passe normalement)