Click to See Complete Forum and Search --> : Timer?


lmccord2
05-08-2003, 08:40 PM
I'm not a good JavaScripter at all :D - lol. I just need a script that will do an action (window.location.replace("blabla")) then wait two seconds then do the same action. lol a stupid script but heck, we can experiment, right?

Thanks!

pyro
05-08-2003, 08:48 PM
Try using setTimeout("yourfunction()", 2000) where 2000 is the number of milliseconds it waits before running yourfunction()

lmccord2
05-08-2003, 08:51 PM
Thanks!

pyro
05-08-2003, 08:54 PM
You bet!