Skip to content Skip to sidebar Skip to footer

Setinterval Timer Need Offset On Animated Progress Bar

I have a script: http://jsfiddle.net/bXJhe/7/ jQuery(document).ready(function() { timer(10) }); // Timer var GLOBAL_TIMER; function timer(intCount) { GLOBAL_TIMER = set

Solution 1:

Set the bar size before you decrement the counter:

jQuery('#bar').css('width', intCount * intTickLength + 'px');
jQuery('#timer').html('00:0' + intCount--);

Post a Comment for "Setinterval Timer Need Offset On Animated Progress Bar"