Martin Berisso
asked on
FlipClock.js: looping a countdown, previous answer is not working 100%
So, this is pretty much the question, and the answer (probably working then)
https://www.experts-exchange.com/questions/28681664/Flipclock-js-How-to-restart-countdown-timer-when-it-reaches-0.html
It seems that now the code should look like:
but the output looks like this:
00:01
59:59
00:00
59:58
59:57
..and so on.
countdown-to-christmas---mins-and-s.html
https://www.experts-exchange.com/questions/28681664/Flipclock-js-How-to-restart-countdown-timer-when-it-reaches-0.html
It seems that now the code should look like:
clock = $('.clock').FlipClock(3, {
clockFace: 'MinuteCounter',
countdown: true,
callbacks: {
stop: function(){
clock.setTime(60*60)
clock.start();
}
}
});
but the output looks like this:
00:01
59:59
00:00
59:58
59:57
..and so on.
countdown-to-christmas---mins-and-s.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
only its just a tad weird, as it goes from 00.01 to 60.00 (not 00.00), but i guess its the best solution without editing the face itself