Comments Brentac started the conversationMarch 3, 2018 at 12:46amHi!Can you please advise how to remove the "seconds" from the countdown timers? I only need Days, Hours, and Minutes to show up. Any help is greatly appreciated! Thank you.Brent 1,194Amit repliedMarch 3, 2018 at 5:13amif you double click on the addon in unlimited addons you will see tabsgo to the js taband there is a line there dedicated to secounds. if you delete that line and save it will delete it for you update me if it works or you need helpBrentac repliedMarch 3, 2018 at 6:04pmHi Amit, I just want to confirm: When you say "go to the js tab", you mean "Javascript", and delete the line: + '<div>%S <span>{{seconds}}</span></div>'));Please confirm and thank you for your help.Brent 1,194Amit repliedMarch 3, 2018 at 6:04pmyes 1,194Amit repliedMarch 3, 2018 at 6:05pmcan u paste all the content u have there ?i will give u a new one cause i think the closing tag is also in that lineBrentac repliedMarch 4, 2018 at 5:13amThanks, here it is:jQuery('#{{uc_id}}').countdown('{{date}}').on('update.countdown', function(event) { var jQuerythis = jQuery(this).html(event.strftime('' + '<div>%D <span>{{days}}</span></div> ' + '<div>%H <span>{{hours}}</span></div> ' + '<div>%M <span>{{minutes}}</span></div> ' + '<div>%S <span>{{seconds}}</span></div>'));}); 1,194Amit repliedMarch 4, 2018 at 5:34amjQuery('#{{uc_id}}').countdown('{{date}}').on('update.countdown', function(event) { var jQuerythis = jQuery(this).html(event.strftime('' + '<div>%D <span>{{days}}</span></div> ' + '<div>%H <span>{{hours}}</span></div> ' + '<div>%M <span>{{minutes}}</span></div> '));});Brentac repliedMarch 7, 2018 at 8:48pmPerfect! Thank you! 1,194Amit repliedMarch 7, 2018 at 10:37pmany chance you can help me with 5 stars here:https://codecanyon.net/downloads Sign in to reply ...
Hi!
Can you please advise how to remove the "seconds" from the countdown timers?
I only need Days, Hours, and Minutes to show up.
Any help is greatly appreciated! Thank you.
Brent
if you double click on the addon in unlimited addons
you will see tabs
go to the js tab
and there is a line there dedicated to secounds.
if you delete that line and save it will delete it for you
update me if it works or you need help
Hi Amit,
I just want to confirm: When you say "go to the js tab", you mean "Javascript", and delete the line:
+ '<div>%S <span>{{seconds}}</span></div>'));
Please confirm and thank you for your help.
Brent
yes
can u paste all the content u have there ?
i will give u a new one
cause i think the closing tag is also in that line
Thanks, here it is:
jQuery('#{{uc_id}}').countdown('{{date}}').on('update.countdown', function(event) {
var jQuerythis = jQuery(this).html(event.strftime(''
+ '<div>%D <span>{{days}}</span></div> '
+ '<div>%H <span>{{hours}}</span></div> '
+ '<div>%M <span>{{minutes}}</span></div> '
+ '<div>%S <span>{{seconds}}</span></div>'));
});
jQuery('#{{uc_id}}').countdown('{{date}}').on('update.countdown', function(event) {
var jQuerythis = jQuery(this).html(event.strftime(''
+ '<div>%D <span>{{days}}</span></div> '
+ '<div>%H <span>{{hours}}</span></div> '
+ '<div>%M <span>{{minutes}}</span></div> '));
});
Perfect! Thank you!
any chance you can help me with 5 stars here:
https://codecanyon.net/downloads