Pre selected Dates
2007/10/04 20:47
Viewed 3051 times
Replies: 0/0

Hello All,

First, this is a great script and thank you for offering this for free!
Now to the problem:

I'm fetching some dates from a database and I want the calendar to get those dates and have them selected(multiple).

Any ideas on how to do so?

last
pass params to onUpdate
2007/10/09 01:55
Viewed 2889 times
Replies: 0/0

Hi, is there a way to pass additional params to onUpdate

I have a page with several calendars on it, and several divs, I need to know both the calendar that triggered the update and the div to be updated. I can get the value of the date from the calendar but I cant figure out a way to figure out which div it came from, so I was thinking of passing another parameter. But when I do this, it seems to omit the callendar ref passed in. Sorry if this is an obvious question, im not very experienced at javascript.

thanks
Joel

last
Chaning the order that dates are called with the callbackFunc
2007/10/13 02:16
Viewed 2664 times
Replies: 0/0

Firstly thanks for a brilliant JS component - it's been a real help to me.

I have come across a problem which I am wondering whether you can help me/tell me if it's possible/point me in the right direction.

I have a calendar implement which allows for multiple selection of dates. From debugging my script it appears that everytime a date is selected then the callbackFunc is called and it's contents are executed, in the order that the dates were selected. Is there anyway I can run the callbackFunc in date order instead of the order the user selected them? If a user selects dates in cronological order then my code executes as I want however if they are not then it doesn't.

I have tried to sort the MA and cal.multiple arrays however each time the callbackFunc doesn't execute, so that's obviously a dead-end. Is it possible to sort either of these array's within my script or would it require editing the actual component's javascript code?

I hope that this makes sense but if not please don't hesitate to get in contact with me.

Many thanks,

last
Problem selecting a date
2007/10/22 13:55
Viewed 2802 times
Replies: 1/2

Hi,

I have a strange problem selecting a date in a filtered calendar (dateStatusFunc):

I try to select October the 27th, a Saturday; all days before this are disabled by the dateStatusFunc, all days after are enabled; first day of the week is Monday (thus, the two last days in the row are selectable).

When I try to select this day, it doesn't work; however, it helps if the input field is filled with the value of a selectable date, or if I change to another month temporarily.

We did some minor modifications to the calendar (like fixing the today button/month changing issue for today being unselectable, and disabling drag-n-drop for some unknown reason), but I'm pretty sure I did nothing to break the behaviour in this case. It looks like bug #1465156 to me ("Unable to select date").

Since this bug is around for over a year now: Does anyone know how to fix it? Thanks!

Tobias

last
Re: Problem selecting a date
2007/12/14 17:24
Viewed 3203 times
Replies: 1/1

I have the same problem. We limit the date range from today's date to 90 days in the future in the calendar. So let's say the user enters 12-31-2008 in the textfield (instead of using the calendar) and then decides to update the date with the calendar. The calendar opens the month of march 2008. The user then proceeds to select an enable date (let's say from today's date to 12-14-2008), the calendar won't permit him to choose any date for that current month even though the dates in march 2008 from march 1 - march 14 are enabled.

As soon as the user selects one of the top menu of the calendar (like Today's link or the arrow back a month and comes back to march 2008) then everything works properly. The bug is gone.

Any thoughts? thank you

last
Positioning thrown off by doctype in IE7
2007/10/22 15:14
Viewed 2957 times
Replies: 1/4

The calendar worked fine until I added a doctype to the page, at which point it does not position correctly in IE7. Seems fine in IE6 and mozilla.

It seems that, when the trigger form element has a position on the page that requires you to scroll down, the calendar does not position itself down that far, and is further up towards the top of the page. I've tried strict and loose doctypes but no difference. Remove the doctype and it works again.

I've tried putting the form element in a relatively positioned div, but no joy.

Sample code I used to reproduce the effect:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<!--set up calendar...-->

</head>
<body>
<div style='height:1000px;'></div>
<form>
<input id="bdate" name="bob">
</form>
</body>
</html>

Is there a fix for this?

last
Re: Positioning thrown off by doctype in IE7
2007/10/30 19:49
Viewed 3813 times
Replies: 1/3

Did you manage to fix this? I am experiencing the same problem.

last
Select Dates in Drop down list
2007/10/24 13:17
Viewed 2933 times
Replies: 0/0

Hi,
is it possible to get the date result as a variable, which you can edit. What I want to do is to get the date and after base on what is the date to select days in drop-down list.

last
jsCalendar in phpBB2
2007/10/27 21:24
Viewed 2901 times
Replies: 0/0

Has anyone attempted to install the jsCalendar widget in an admin page in phpBB2. I keep getting a javascript error and the calendar does not pop up despite installing according to the directions. Any advice would be appreciated.

Thank you,
Ron

last
Colorize specific days
2007/10/28 15:40
Viewed 2856 times
Replies: 1/1

Hi there,

i'm trying to colorize specific days in the jscalendar, based on empty data sets in a database. By colorizing i mean the look of a day field when
you move the mouse over it.

Is this possible ?

thanks

last
Re: Colorize specific days
2007/11/10 17:27
Viewed 3690 times
Replies: 0/0

Hi,

I too would like to be able to colour specific periods different colours.

If anyone had any ideas!

Thanks,

last
Firefox/IE calendar
2007/11/02 22:53
Viewed 3416 times
Replies: 0/0

First, I'd like to apologize if this problem has already been addressed as I didn't find anything related to my question.
Problem:
Whenever I have a calendar popup in order for dates to be selected into a dropdown box, it works for internet explorer 7.0, but not for Firefox 2.0. Is there something I'm missing?
Whenever I select the calendar dates for IE, it puts that information into a dropdown list. However, whenever I do the same thing for Firefox, it doesn't transfer that information into a dropdown list. Thanks for taking the time to read this.

last
Disable dragging
2007/11/07 20:14
Viewed 2773 times
Replies: 0/0

First of all: Very well done in writing the calendar app.

For quite some time I have been searching for a popup dhtml calendar app to integrate in my website. Since the majority of them are very costly or low on functionality, this one is absolutely great.

The only 'flaw' I ran into is that it does not seem easily possible to make the popup menu position non-draggable.

If this would be somehow possible it would make the app even more great.

Thanks in advance for any help

last
enter key events focus
2007/11/21 05:44
Viewed 2566 times
Replies: 1/1

I am new to JavaScript, so this might be an easy one.

The problem is that when I am in an unrelated text box and press the enter key the calendar control pops up. It seems that somehow it is getting the key events from the document and opening (displaying) the calendar on the Enter key. I am using FF & FB to trace the code, but cannot see how this would happen.

This happens on both FF and IE.

In all other respects the control works fine.

Regards to all, Robert

last
Google