Menu
hey everybody! i was wondering if any of you knew how to fix the timer that i have on my website, i website is a quiz for children and it asks a series of prompt questions, the problem is that the timer only starts after the questions have been asked. I would like the timer to start as soon as the page is loaded! The timer is situated in my status bar and i dont know if this is the problem?
my code is:
var gTimer1 = null;
var gTimer1Count = 0;
function Timer1()
{
gTimer1Count++;
window.status = “Timer1 Running – ” + gTimer1Count;
gTimer1 = window.setTimeout(“Timer1()”,1000);
}
Timer1();
can anybody help? please???