Forum Moderators: open

Message Too Old, No Replies

how do we create a dynamic timer in a page ,multipletimes?

         

vanik

10:04 am on Mar 3, 2009 (gmt 0)

10+ Year Member



Hi all,
I am new to JS and AJAX.I would like to create one dynamic timer in my homepage,multiple times.Timer should start at user defined time and count down to zero.I got some codes.But with that only one timer is working properly in whole page.But i want multiple timers.Any help is appreciated.
Thanks in advance.

coopster

2:19 pm on Mar 11, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Design the timer as a function or method that can be set up per instance. I guess the appropriate term at this point would be an object. Pass the appropriate variable time value to each new instance and go from there.