View Full Version : Multiple timers
Fitzbean
06-27-2002, 09:30 PM
Is it posible to create multiple timers in one script? If so, some sort of example would be appreciated greatly.
Thanks!
Fitzbean
06-28-2002, 03:17 AM
Intresting, though I'm not sure I fully understand it.. it's a pretty complex example, I'm not sure I understand. So each time the setTimeout is fired, it automatically generates another timer?
I'm working on a moderately complex application that needs multiple timer functionality.. just not sure how to apply this example to it at this point.
Thanks!
adios
06-28-2002, 03:29 AM
http://www.insidedhtml.com/tips/functions/ts07/page1.asp
Fitzbean
06-28-2002, 12:13 PM
Excellent, I think that might be what I'm looking for. With the setTimeInterval, it's only nec. to decalre it once I would assume, not like setTimeout where you must specify the next interval with another setTimeout once the first one is reached?
Fitzbean
06-28-2002, 12:41 PM
Additional query: Is there a way to change the interval of a setTimeInterval timer?
Thanks alot btw..
Fitzbean
06-28-2002, 06:57 PM
Dave
Thanks a bunch, I think I'm finding my way out of the woods on this one! :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.