On May 23, 4:24 pm, RedAlert <[EMAIL PROTECTED]> wrote: > Greetings all, > > Does anyone know if there is a countdown plugin made all ready? If > not, how difficult would it be to create one? <snip>
FWIW... <span class="timer">15</span> <span class="timer">600</span> <span class="timer">150</span> <span class="timer">800</span> and: $(document).ready(function () { var interval = 1; //sec setInterval(function () { $('span.timer').each(function () { var t = parseInt($(this).text(), 10) - interval; $(this).text((t > 0) ? '' + t : 'Done'); } ); } , interval * 1000); } ); -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/