Closed (fixed)
Project:
jQuery Countdown
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 Jan 2009 at 14:01 UTC
Updated:
20 Jan 2009 at 03:40 UTC
Hi i tried this in Chrome and FF3,
echo '<div class="countdown">10 seconds!</div>';
jquery_countdown_add(".countdown", array("until" => date("10,3,2009")));
and it works but not in IE7..
Any idea why's that? Thanks.
Comments
Comment #1
robloachI'll check it this week through #351654: Documentation. I think the problem here is that you're passing a PHP date when it expects a numeric.... I guess it doesn't take exact dates into consideration? I'll have a look at making it work with a string representing an exact date or something....
Comment #2
dropchew commentedThanks, looking forward to it : )
Comment #3
robloachIf you use a number, like 10, it should work. I'll have a try at getting it working with strings.
Comment #4
robloachhttp://drupal.org/cvs?commit=162720 adds implementation of hook_help() with some examples.
It appears I did take strings into consideration. It works with strings (passed straight to JavaScript date objects), arrays (passed as parameters to date object), and numbers (seconds)........
Try it with the following:
Comment #5
dropchew commentedits working in IE7 now. thanks!
Comment #6
robloachYay!