There are instructions to configure (and how to use) this plugin here: http://www.jqueryscript.net/time-clock/Modern-Circular-jQuery-Countdown-Timer-Plugin-Final-Countdown.html
Initialize the countdown timer and set the start time, end time and current time in the javascript.
$('.countdown').final_countdown({ start: '1362139200', end: '1388461320', now: '1387461319' });
First off, I don't know what those numbers mean... it's not even explained. I deduce they mean seconds.
So I set my code this way:
$('.countdown').final_countdown({
'start': 0, /* ((((Jan + Feb + 3 days) * number of hours in a day) * number of minutes in an hour) * number of seconds in a minute) = total seconds */
'end': ((((31+28+31+2)*24)*60)*60), /* started at 9:25 pm on March 03 */
'now': ((((31+28+3)*24)*60)*60),
seconds: {
borderColor: '#8ef58e',
borderWidth: '9'
},
minutes: {
borderColor: '#ff8d72',
borderWidth: '9'
},
hours: {
borderColor: '#69ccff',
borderWidth: '9'
},
days: {
borderColor: '#ffd35c',
borderWidth: '9'
}
});
The problem is that every time one loads the page, it shows the same 29 days. The script is not grabbing the current time/date and comparing with another time/date in the future.
So it looks okay now (29 days), but a few days from now someone will load this page and it will be totally off.
You can see the script (and issue) here: http://www.3rd-dimension.co
I greatly appreciate any help on this.