default setup, counts from 180 to 0
$( '#timer-countdown' ).countdown( { from: 180, // 3 minutes (3*60) to: 0, // stop at zero movingUnit: 1000, // 1000 for 1 second increment/decrements timerEnd: undefined, outputPattern: '$day Day $hour : $minute : $second', autostart: true } );
reversed default, from 0 to 180
$( '#timer-countup' ).countdown( { from: 0, to: 180 } );
count from 30 to 20
$( '#timer-countinbetween' ).countdown( { from: 30, to: 20 } );
counts from 10 to 0 and calls timer end callback
$( '#timer-countercallback' ).countdown( { from: 10, to: 0, timerEnd: function() { this.css( { 'text-decoration':'line-through' } ).animate( { 'opacity':.5 }, 500 ); } } );
changed output pattern
$( '#timer-outputpattern' ).countdown( { outputPattern: '$day gün $hour saat $minute dakika $second saniye kaldı pampa..', from: 60 * 60 * 24 * 3 } );