Widget:Timer: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
if(countdownCurrent < 0) {countdownCurrent=0;} | if(countdownCurrent < 0) {countdownCurrent=0;} | ||
} | } | ||
}, 70); | }, 70, true); | ||
}); | }); | ||
$('#Go').click(function() { | $('#Go').click(function() { | ||
countdownTimer. | countdownTimer.toggle(); | ||
}); | }); | ||
function pad(number, length) { | function pad(number, length) { | ||
Line 29: | Line 29: | ||
return str; | return str; | ||
} | } | ||
}); | |||
</script> | </script> | ||
<span class='countdowntime'></span> | <span class='countdowntime'></span> |