Hey friends! I need help i want code for count-down timer just similar to the count-down timer on this site [url]http://www.swoopo.com.I[/url] really need this please reply ASAP i would to thankful to you.Thanks tc
// parameter 0 = the unique id of the target element. (string) // parameter 1 = an arry to specify the start time. (array) // field 0 = seconds. (digits) // field 1 = minutes. (digits) // field 0 = hours. (digits) // field 0 = days. (digits) // parameter 2 = (optional) the message to be displayed at the end of the countdown. (string) // if the message = 'restart' the dountdown will be repeated.
// Notes: // The count down may be repeated by recalling function zxcCountDown, // the original parameters 1 and 2 wll be retained unless respecified.
// Functional Code - NO NEED to Change
function zxcCountDown(zxcid,zxcsmhd,zxcmess){ var zxcobj=document.getElementById(zxcid); var zxcoop=zxcobj.oop if (!zxcoop) zxcobj.oop=new zxcCountDownOOP(zxcobj,zxcsmhd,zxcmess); else { clearTimeout(zxcoop.to); zxcoop.mess=zxcmess||zxcoop.mess; zxcoop.smhd=zxcsmhd||zxcoop.smhd; zxcoop.srt=new Date().getTime(); zxcoop.finend(); zxcoop.cng(); } }