0

How to modify this jQuery-Countdown to show also Milliseconds? I already tried to just set the interval from 1000 to 1, but it doesn't work.

interval = setInterval(moveStep(digits.length - 1), 1);

Update: JSFiddle

Ben
  • 1,550
  • 1
  • 16
  • 24

1 Answers1

1

It doesn't work because 1 milisecond is to little for the code to execute. People can't see faster than 30 FPS which is 33 miliseconds, so You could just set interval to 33 ms to make it look like it was every milisecond.

Krzysztof Wende
  • 3,208
  • 25
  • 38