jquery-countdown icon indicating copy to clipboard operation
jquery-countdown copied to clipboard

Refresh page reloads counter

Open jadeye opened this issue 8 years ago • 0 comments

I am trying to use you code:

jQuery(document).ready(function($) { $('#counter').countdown({ image: 'wp-content/themes/sometheme/img/digits.png', startTime: '185:6:22:59' });

This code is in a separate file from jquery.countdown.js

They both load in the page but when page is refreshed, counter restarts... What am I doing wrong?? What do I need to do so countdown starts once and does not restart every page refresh?

I also tried defining startTime in: var options = { stepTime: 60, format: "dd:hh:mm:ss", startTime: "185:6:22:59", digitImages: 6, digitWidth: 53, digitHeight: 77, autoStart: true, timerEnd: function() { }, image: "digits.png" };

Thanx

jadeye avatar Jun 29 '16 14:06 jadeye