Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  JavaScript tutorial - Creating time delays

There are two ways of creating time delays with JavaScript. The first is more simpleand will simply wait for a specified amount of time before executing a function. The seconddoes the same but will repeatedly execute the function.Note, many browsers have a minimum delay length of between 25 and 75 ms, with some of the fastest browsershaving a minimum delay of about 3 ms. If a shorter delay is specified,the actual delay will be the minimum delay length. Even with higher numbers, the delay is never perfect. Mostbrowsers will take slightly longer than the time you ask for, typically just a few mi...

3,214 0       JAVASCRIPT TIME DELAY SETTIMEOUT SETINTERVAL