MmayconprrOct 13, 2017
Hi, first of all, thanks for the support and the beautiful job !
I want to reset the countdown timer when it is finished. Or add a new date once it has finished automatically. Is it possible ?
2 replies · opened Oct 13, 2017
Hi, first of all, thanks for the support and the beautiful job !
I want to reset the countdown timer when it is finished. Or add a new date once it has finished automatically. Is it possible ?
Hi, I want to reset the countdown when it is finished. Or add a new date once it has finished automatically. Is it possible ?
Thanks :
jQuery(document).ready( function($){
var currentDate = new Date();
currentDate.setSeconds(currentDate.getSeconds() + 5);
$('#countdown-ex1').countdown({
until: currentDate,
onExpiry: function(){
currentDate = new Date();
currentDate.setSeconds(currentDate.getSeconds() + 5);
$('#countdown-ex1').countdown('option', {until: currentDate});
}
});
});
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard