Hi,
How can I add the functionality of Stop/Restart the countdown Timer on the quiz.
Best Regards
sanachr
Tue, 03/03/2015 - 08:56
i find this code on the
i find this code on the /contrib/jquery_countdown/jquery_countdown/jquery.countdown.js:
/* Pause a countdown widget at the current time.
Stop it running but remember and display the current time.
@param target (element) the containing division */
_pauseCountdown: function(target) {
this._hold(target, 'pause');
},
i have to call this function on an button.onclick event or .click with jquery...
have you an idea how to code it??
thanks
sanachr
Wed, 03/04/2015 - 20:24
hi!
hi!
i find a method to stop/resume jquerycount down,
i added pauseand resume and i stopped countDown Timer with:
jQuery('.pause').click(function() {
jQuery('.countdown').countdown('pause');
my problem now is that when I refresh the take quiz pagethe timer take the initial value not the "pause" value!
is there any idea for help.
thank you
});
i find this code on the
hi!