PDA

View Full Version : Dynamic Countdown Script help needed



sereneione
11-21-2006, 07:13 AM
Script Title:
Dynamic Countdown Script Help

Script URL (on DD): http://www.dynamicdrive.com/dynamicindex6/dhtmlcount.htm

Describe problem:
Hi there. I tried using the above script on my website:

http://www.omsa.org.nz

It is at the bottom of the page. It shows, but it doesn't work. I get NaN values for all of the arguments. I do not know what I did wrong. Please help. I have attached the file/script which I had used. It was originally in .php format.

Thanks a lot.

ddadmin
11-22-2006, 09:29 AM
When you define the date to count down, leave out the human suffix for the day portion (ie: 1st, 2nd, 3rd etc). So, the code at the end of your should be:


var futuredate=new cdtime("countdowncontainer", "January 1, 2007 00:00:00")

sereneione
11-22-2006, 11:11 AM
Thank you very much. It works now. :) Thanks again!