FreakyD96 / jquery-countdown

Automatically exported from code.google.com/p/jquery-countdown
0 stars 0 forks source link

Is there a way to show the countdown in only minutes? #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Just curious if there is a way to show the full timer in only minutes or only 
seconds. For instance, instead of 176 days, 11 hours, 32 minutes, 12 seconds 
until event, is there a way to make the timer show 138,934 minutes until event? 
Thanks!

Original issue reported on code.google.com by kaels...@gmail.com on 29 Aug 2012 at 2:32

GoogleCodeExporter commented 9 years ago
I did it like this, for counting down to end of 1 minute.I guess, stepTime 
always works in seconds.

$('#counter').countdown({
        stepTime: 60,
        format: 'ss',
        startTime: '60',
        digitImages: 6,
        digitWidth: 53,
        digitHeight: 77,
        timerEnd: function() { alert('Gone'); },
        image: 'digits.png'
      });

Original comment by knightsamar@gmail.com on 27 Oct 2012 at 10:31