The DHTML Calendar
2008/02/15 16:12
Viewed 6640 times
Replies: 2/2

Hi, I downloaded and used the DHTML Calendar. It works fine and looks pretty good when i use lang/calendar-en.js.
But when i use any of the other calendar-xx files, then the calendar is not displayed properly.
Iam importing the calendar.js, and calendar-setup.js in my html and jsp.

I find that all the other calendar-xx files, have some varilabes missing (like Calendar._SDN, etc) when i compare with the calendar-en.js. Not sure if that is the reason.

Can you tell me how i should i use them, so that in all languages the calendar is displayed properly.

Thanks,
Ganesh

Re: The DHTML Calendar
2008/02/15 16:17
Viewed 7949 times
Replies: 0/0

In my firefox error console i get the foll errors

Error: record has no properties
Source File: file:///C:/Documents%20and%20Settings/Admin/Application%20Data/Mozilla/Firefox/Profiles/x1pbncjg.default/extensions/%7B3112ca9c-de6d-4884-a869-9855de68056c%7D/lib/toolbar.js
Line: 443

Error: weekend has no properties
Source File: file:///C:/Documents%20and%20Settings/Admin/Desktop/pop%20up%20calendar/ganesh/onlyneeded/calendar.js
Line: 1534

The calendar pops up (for eg. when i use calendar-fr), but i cant see the dates.
if i use calendar-al, then the calendar does not come up.

last
Re: The DHTML Calendar
2008/02/18 12:29
Viewed 8006 times
Replies: 0/0

Hi
i experienced the same behaviour here. In my installation, all number values (days, week numbers, time) showed "NaN" and the weekdays were "undefined", everything else showed up as intended.

adding the line "Calendar._FD = 0;" (taken from the english language file) into the other language files fixed my problems. I checked the german and dutch language files as i'll only need those, maybe this fix works for the other languages as well.
greez

last
Google