Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

Moose

Moose Avatar

****
Senior Member

449


August 2005
It's a nice little timer I coded. Nothing too special but I was kinda bored.

webpost.net/mo/moosescripts/timer.html

Greg says:
Coding music...
Greg says:
Hmm...
Greg says:
I wouldn't rule it out. :P
Chris 3.0 [New features? Yes.] says:
:P
Greg says:
If you think about machine code it's a bunch of 1s and 0s
Chris 3.0 [New features? Yes.] says:
Anything is possible.
Greg says:
Yeah try to code Metallica
Chris 3.0 [New features? Yes.] says:
:P Yeah, I'll get right on that... right after I learn to fly.

Mithras

Mithras Avatar

****
Studio Member

600


July 2006
moose said:
It's a nice little timer I coded. Nothing too special but I was kinda bored.

webpost.net/mo/moosescripts/timer.html


I think it's broken :P

It pauses for three seconds, then jumps to 2, then it takes anywhere from 1-3 seconds to continue after that :-/


Support Rob Scuderi, the #1 Penguins Defender!

lucifer said:
"Behold: me! I have authority in this building."

Moose

Moose Avatar

****
Senior Member

449


August 2005
That's actually very weird. Up until I uploaded it was working fine in FF. In IE it works perfect. I am rather confused by it right now. I guess I will play around more.

Edit: I noticed webpost is using a setTimeout function do you think this could be causing a problem in FF?


Last Edit: Feb 6, 2007 2:43:16 GMT by Moose
Greg says:
Coding music...
Greg says:
Hmm...
Greg says:
I wouldn't rule it out. :P
Chris 3.0 [New features? Yes.] says:
:P
Greg says:
If you think about machine code it's a bunch of 1s and 0s
Chris 3.0 [New features? Yes.] says:
Anything is possible.
Greg says:
Yeah try to code Metallica
Chris 3.0 [New features? Yes.] says:
:P Yeah, I'll get right on that... right after I learn to fly.

Aaron

Aaron Avatar
Bad Wolf

****
Dedicated Studio Member

859


November 2006
moose said:
That's actually very weird. Up until I uploaded it was working fine in FF. In IE it works perfect. I am rather confused by it right now. I guess I will play around more.

Edit: I noticed webpost is using a setTimeout function do you think this could be causing a problem in FF?


'All depends on how it's written, what it does, and how slow a connection the user has.

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Personally, I'd drop the setTimeout to 1 and then use the date.getTime to update the clock's accuracy. That way you can do milliseconds too if needed.

newBookmarkLockedFalling