Closed (fixed)
Project:
Javascript Countdown Timer
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2008 at 12:39 UTC
Updated:
20 Aug 2008 at 00:29 UTC
Hi,
I've tried installing the countdown timer but keep getting an error displayed as the output:
(undefined undefined1)
NaN days + 0NaN:0NaN:0NaN
I have it set to appear on all pages and full html filter. The source of the page confirms the examples are as you have them in the docs ...
Any ideas what is going wrong?
Comments
Comment #1
jvandervort commentedUsually the NAN errors happen when the format is a little off and it can't figure out the datetime.
Is your site public, and can you post the <span tags?
Comment #2
aalexei commentedHi, the span tags were copied from the docs:
The site is public but I don't want to leave the block displayed for too long as the site is live. Hmm, lets see, I'll create a separate page with the clock ... OK try http://quest.quantumscience.info/node/50
Comment #3
jvandervort commentedAhh, the 5.x version uses this format:
(The timezone is separate, the the spans use "name=" instead of class.)
In the readme.txt file that is included in the 5.x download it should be correct.
The docs on drupal.org are for the 6.x (latest and greatest).
Comment #4
aalexei commentedwoohoo!,
thank you, all works now.
Comment #5
aalexei commented