How to change jquery.countdown.min Time
Microsoft Net Framework
  • .Net
  • 362
  • May-13-2018
  • by 

How to change  jquery.countdown.min Time?

Problem:

I have coming soon template, that will display remaining timing, after that website will be ready for live. i have controls that is showing

remaining Days, Hours and Minuts. how i can modify that time,  e.g. my website will be live after 30 days.?

Solution

As you download that theme there will be folder with name "js" in that folder you have a file with name "Script"

 

and in that script you can this code

var newYear = new Date(); 
newYear = new Date(2015, 12-1, 25);
$('.defaultCountdown').countdown({until: newYear, format: 'DHMS'}); 

this function take paramer meter as year, month and date.

Just chagne it to your required Date, counter will start from that day, 

 

Note! Date sh;d be future date

 

 

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM