Nov 1, 2003 #1 martinb7 Programmer Joined Jan 5, 2003 Messages 235 Location GB Hi, how would you make a countup clock in javascript that starts at 0 and when it gets to a certain time like 1 hour later, does something?? thanx Martin Computing help and info: http://webrevolt.tycooneden.com
Hi, how would you make a countup clock in javascript that starts at 0 and when it gets to a certain time like 1 hour later, does something?? thanx Martin Computing help and info: http://webrevolt.tycooneden.com
Nov 2, 2003 #2 jemminger Programmer Joined Jun 25, 2001 Messages 3,453 Location US you'll have to define "does something" here is a timer that shows an alert after one hour: Code: window.setTimeout("alert('something!');", 60*60*1000); ========================================================= -jeff http://www.jeffemminger.comtry { succeed(); } catch(E) { tryAgain(); } Upvote 0 Downvote
you'll have to define "does something" here is a timer that shows an alert after one hour: Code: window.setTimeout("alert('something!');", 60*60*1000); ========================================================= -jeff http://www.jeffemminger.comtry { succeed(); } catch(E) { tryAgain(); }