Change from Countdown script to CountUp in latest Deal
I would like change time in Latest Deals Box.
Deafulty is Countdown Time, I would like get CountUp from specific date.
Eg.: Specific date:
and Count up to time when Latest Deals will be updated by new product.
I found in JS:
/** COUNT DOWN **/
$('[data-countdown]').each(function() {
var $this = $(this), finalDate = $(this).data('countdown');
$this.countdown(finalDate, function(event) {
var fomat ='%H%M%S';
$this.html(event.strftime(fomat));
});
});
if($('.countdown-lastest').length >0){
var labels = ['Years', 'Months', 'Weeks', 'Days', 'Hrs', 'Mins', 'Secs'];
var layout = '{dnn} Days:{hnn} Hrs:{mnn} Mins:{snn} Secs';
$('.countdown-lastest').each(function() {
var austDay = new Date($(this).data('y'),$(this).data('m') - 1,$(this).data('d'),$(this).data('h'),$(this).data('i'),$(this).data('s'));
$(this).countdown({
until: austDay,
labels: labels,
layout: layout
});
});
}
and I can't edit it like is on author web page http://keith-wood.name/countdown.html in CountUp Tab... where weh ave a code: $('#sinceCountdown').countdown({since: startYear, format: 'YOWDHMS', description: 'Since New Year'});
Can You Help Me ?