79

Javascript datepicker Calender Eightysix released

Oct 11, 2009

After a stunning 55,000 downloads of vlaCalendar version 2 and two years after vlaCalendar version 1, the Vista-like Ajax Calendar is finally ready for its successor, Calender Eightysix!

Where the vlaCalendar fails, having disadvantages like making use of AJAX and PHP, Calendar Eightysix succeeds; being completely build from scratch with pure javascript, making use of some of the superb features the latest MooTools javascript framework has to offer.

Calendar Eightysix is an unobtrusive developer friendly javascript calendar and datepicker offering a better user experience for date related functionalities.

Key features:

  • Quick navigation by jumping back and forth between months, years and decades without drop-down boxes
  • Highly and easily customizable
  • Packed with three themes
  • Lightweight (9.5 kB compressed)
  • Purely javascript; AJAX-less and no PHP needed
     

Examples, documentation and the download
are available
here.

Update November 11, 2009: Version 1.0.1 released, minor bugs fixed.

Add comment +

Comments (79)

kiff
Oct 14, 2009
Where ist the Download Link?
rcz
Oct 14, 2009
ehab
Oct 19, 2009
glad to see some requested features added like min and max date .. nice nice .. will comment when i upgrade to this version..

heatly thanks for all the time and effor you put into this version Face: Happy

ehab
Oskar Krawczyk
Oct 27, 2009
Great in theory but:

Whatever I do, I'm getting:
Date.defineParser is not a function
under Moo 1.2.3 (including all dependencies)

Also, the script completely fails on 1.2.4.
this.target is null

rcz
Oct 27, 2009
Date.defineParser is a function from the MooTools More library, and should work just fine.
My guess is that you didn't include the nessesary MooTools More dependencies.

Calender Eightysix has been developed for MooTools 1.2.3, and will soon have 1.2.4 compatibility.
rcz
Oct 29, 2009
Tested compatibly with MooTools 1.2.4 as well. Works like a charm.

Oskar Krawczyk, my guess is that you are using it wrong. Try the provided examples in the download.
Pasci
Oct 30, 2009
I must say that I really like your calendar script.

However, I am stuck.

I am trying to use the calendar for two input fields in the same form

The first field is the arrival date and the second field is the departure date

When someone selects a date in the arrival date field, and then clicks in the departure date field, then the initial date in the departure popup calendar should be AFTER the previously selected arrival date, and it should not be possible to select a date that is before the arrival date.

Is this possible with your calendar?
rcz
Oct 31, 2009
I am trying to use the calendar for two input fields in the same form The first field is the arrival date and the second field is the departure date When someone selects a date in the arrival date field, and then clicks in the departure date field, then the initial date in the departure popup calendar should be AFTER the previously selected arrival date, and it should not be possible to select a date that is before the arrival date. Is this possible with your calendar?

Quite easy. It's something like this (made the example by heart, didn't test it):
var calendarA = new CalendarEightysix('calendarA', { 'pickFunction': function(date) { calendarB.options.minDate = date; calendarB.render(); } });
var calendarB = new CalendarEightysix('calendarB');
Cristian Tirado
Oct 31, 2009
Hey guys,

Great calendar, i'm using it in a intranet site, and i'm tryin to set a date field to none date, so I need a field with your calendar but without any date filled, and if the user don't pick the calendar, the field remain empty. It is possible with you script?

Thanks,
Cristian Tirado
Oct 31, 2009
Hey,

I've solve the problem, I've used 'prefill': false in the options array,

Thanks anyway,

Great calendar script
Julz Andrews
Nov 3, 2009
I love the Calendar script, but I am a little stuck. When I attempt an edit an item in my DB, I want my value from within the DB to appear in the date input field box with the calendar selection. However, if I add a value=$blah it won't load the calendar on this input field and only display the stored date from the DB.
rcz
Nov 4, 2009
I love the Calendar script, but I am a little stuck. When I attempt an edit an item in my DB, I want my value from within the DB to appear in the date input field box with the calendar selection. However, if I add a value=$blah it won't load the calendar on this input field and only display the stored date from the DB.
It should take the value from the input textbox (if written to the html from the start) and, with the option linkWithInput set to true, should parse this to the initial date.
You can try to set the defaultDate as well. See the documentation; the options and parsing chapters.
Jeffrey Ropp
Nov 8, 2009
Very nice tool, but I have encountered a few issues that are preventing me from using it.
1) When you blank out a date in the text box, the calendar then defaults to December 31, 1969. Wouldn\'t the current date be a better choice?
2) I like the hidden field concept, but it appears to work only when the script creates the field. It does so with out defining an ID, only name. If createHiddenInput = false but hiddenInputName is defined, it should still populate the field in my view.

I welcome your thoughts.
Jeff
rcz
Nov 8, 2009
Very nice tool, but I have encountered a few issues that are preventing me from using it. 1) When you blank out a date in the text box, the calendar then defaults to December 31, 1969. Wouldn\'t the current date be a better choice? 2) I like the hidden field concept, but it appears to work only when the script creates the field. It does so with out defining an ID, only name. If createHiddenInput = false but hiddenInputName is defined, it should still populate the field in my view. I welcome your thoughts. Jeff
Hi Jeffrey,

About your thoughts:
1) Totally agree Face: Happy. Good feature for the next release.
2) createHiddenInput is just an extra feature for ppl that want the date in another way then that it is shown. Only the name field can be changed because in my opinion id is not needed. If you do want extra functionality besides the createHiddenInput function you can either use a custom pickfunction or can always gain access to the hidden field with $$('input[name="name"]').
Manu Bes
Nov 10, 2009
Hi,

Thanks for your great script :)
I\'d like to use it on several commercial projects (so i\'ll pay for commercial license) and I ran some tests before icluding it on my projects.
I found a bug linked to localization (reproduced on Firefox and Safari for Mac). I can\'t find the origin and I can\'t say if it\'s a Calender Eightysix bug, a Mootools bug or something wrong on my side.
Could you have a look to this test page : http://labs.adaptools.net/calendar-bug/
All instructions to reproduce the bug are on the page.
Manu
John
Nov 11, 2009
When I try to implement this, I got the following error...

Error: element is null
Source File: http://***********/js/mootools-1.2.3-core.js
Line: 1596

and it doesn't work. Anyone have any idea?
senayi
Nov 11, 2009
Nice calendar. You should put comments in the source code. Let's say i want to change date; it was difficult to find the right way.
c_from.selectedDate = new Date(2003,01,01);c_from.pick();
senayi
Nov 11, 2009
And my code above does not work Face: Monkey
Daniel Silva
Nov 11, 2009
Many thanks, its working great.
rcz
Nov 11, 2009
Just released version 1.0.1 which fixes both bugs:

I found a bug linked to localization (reproduced on Firefox and Safari for Mac). I can\'t find the origin and I can\'t say if it\'s a Calender Eightysix bug, a Mootools bug or something wrong on my side.
and
Very nice tool, but I have encountered a few issues that are preventing me from using it. 1) When you blank out a date in the text box, the calendar then defaults to December 31, 1969. Wouldn\'t the current date be a better choice?
Extra functionality for easy date changing has been added as well Senayi.

See the script page for the new version and updated documentation Face: Monkey.
Kevin A
Nov 12, 2009
Wow! Let me start by saying that this date picker surpasses all the others I've come across in looks and usability. It worked perfectly and you've done a great job. Thank you for sharing this. Only thing I've seen elsewhere which would be a nice feature in the future was date range selecting between 2 calendars. (google analytics date picker for example).Thanks again.
Kevin A
Nov 12, 2009
@John, my best guess is that the script is unable to find one of your elements. Make sure the id is set properly on any elements your using with the calendar with and that you are passing the id's value to the calendar class.
Kevin A
Nov 12, 2009
Small issue here, I have a mindate set for the 18th of nov, and max set for the 9th of dec, but no arrow is available to move forward to december. can click the greyed 9 though, and can switch to month view, click december, click back to november, but again not forward to december.
Kevin A
Nov 12, 2009
Firgured out a quick solution to my issue.. on line 179 in the renderMonth method after emptying the container I inserted "this.currentContainer.store('month', this.viewDate.format('%m'));" to store the months id using mootools element store capabilities.. then only line 317 using mootools retrieve added "&& (this.currentContainer.retrieve('month')==this.format(this.options.maxDate, '%m'))" before the timestamp comparison. Can now move forward into december as expected.
Manu Bes
Nov 12, 2009
Just released version 1.0.1 which fixes both bugs:
Thx :) I'm going to try it tomorrow :)
Andrew M. Andrews III
Nov 14, 2009
Hello, I just wanted to let you know about another free calendar control that is easy-to-customize and works as a date picker, time picker or both date/time picker! Learn more at http://www.ama3.com/anytime/ and feel free to contact me directly with any questions or constructive criticism.
nounet
Nov 17, 2009
hi,
Sorry i try to use it in my intranet application but it does'nt work ):

i have the same motool core and more files and i have this error
this.target is null


how i can resolved that?

Ps : i'm french sorry for my english :$
rcz
Nov 17, 2009
Did you provide the first argument?
It should be the ID of an element, preferbly an input text element.
new CalendarEightysix('inputElement');

See the documentation, or provided examples in the download for correct uses.
Randy
Nov 18, 2009
I need to call a javascript function that takes a date object and determines when a traffic fine is due, taking into account weekends and company holidays. I'm having trouble doing this with the pickFunction option. Can you provide more detail on how to call a function and pass it the date selected on the calendar?
Julian Krys
Nov 19, 2009
Bug.. I think I've found another bug.. I'm using the new v1.0.1 release with the LinkWithInput fix. However, the calendar's display is still NOT changing when the input field when manually modified either by the user or by a php $blah variable. Inside the javascript for my calender, I have
'format': '%d-%m-%Y',
. My input field reads dd-mm-yyyy. However when I change my day, or month or year manually, the calender is not self updating the display with it's results. But if I type the date in backwards in the input field yyyy-mm-dd it is updating the calendar display accordingly even though I have specified the date format to be %d-%m-%Y.. Any answer?
rcz
Nov 19, 2009
Bug.. I think I've found another bug.. I'm using the new v1.0.1 release with the LinkWithInput fix. However, the calendar's display is still NOT changing when the input field when manually modified either by the user or by a php $blah variable. Inside the javascript for my calender, I have view source print? 1.'format': '%d-%m-%Y', . My input field reads dd-mm-yyyy. However when I change my day, or month or year manually, the calender is not self updating the display with it's results. But if I type the date in backwards in the input field yyyy-mm-dd it is updating the calendar display accordingly even though I have specified the date format to be %d-%m-%Y.. Any answer?
Hi Julian. This is no bug. The formatting doens't have anything to do with the parsing. If you change the date manually it will parse the value from the input to a date. This will use the Lang localization feature of Mootools. The standard is set to en-US which has m-d-y parsing. See the Localization chapter of the documentation. Try setting the date order correctly.
Julian Krys
Nov 19, 2009
Hi, I have added the following into the javascript area directly below the closing comment that contains my calendar and configuration.
        MooTools.lang.set('en-GB', 'Date', {         months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],         days: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],         dateOrder: ['date', 'month', 'year', '-']         });         MooTools.lang.setLanguage('en-GB');


However, it still will not change the calendar's displayed date when I manually modify or pull data from a php variable.

Example, even when using the above code, my date in the input field will show 20-11-2009. When I try to manually change this to 19-11-2009, it's not changing the display of the calendar at all and the calendar is still just showing the 20-11-2009. Again, if I remove the data in the input field and put in 2009-11-19, it will change it on the calendar.
Julian Krys
Nov 19, 2009
Even on the given example.html within the download pack of v1.0.1.. the first calendar Example I does the same thing.. click on the localization date formatting down bottom to nl-NL.. Now go manually change the date of the first example calendar.. Does the same on that.. Date format is showing DD-MM-YYYY, but when you change the day or change the month or the year in that format, the calendar isn't changing with it..
Julian Krys
Nov 19, 2009
Sorry rcz, I do not mean to spam, but this is what I just noticed.. when my date format is set to %d-%m-%Y, the calendar display will not change upon manual change of the input field.. But if I change it to %d/%m/%Y it will then work and the calendar display will change according to manual user entry or a php $ variable. Just simply won't work when a Hyphen - is used as a separator :( Can this be fixed?
MaxEmil
Nov 25, 2009
Great stuff RCZ!

For the localization, we need to turn to the mootools stuff.

To achieve what Julian Krys mentions.
I use:
MooTools.lang.set('da-DK', 'Date', {
months: ['Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'December'],
days: ['Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'],
dateOrder: ['date', 'month', 'year', '-']
});
MooTools.lang.setLanguage('da-DK');

AND

Date.defineParser('%d-%m-%Y');

Before calling the new CalendarEightysix

Best Regards\\MaxEmil
Leslie
Nov 25, 2009
Problems arise when JQuery is included in the page with Mootools. Different errors arise when either the compressed or the standard version of the js is used. The example.html does not seem to work either.

According to FireBug:
(example.html) window.addEvent is not a function
l is null
[Break on this error] }},after:function(m,l){if(!l.parentNode)...,bottom:function(m,l){l.appendChild(m);\n

The calendar works great when JQuery is commented out.

Great work though. Love the design. Cheers.
Steve
Nov 25, 2009
Hey guys,
kudos for the calendar, now, I don\'t know if this is the expected behavior but when you assign the pickFunction option inside the constructor, the function gets called. This would not be normal since, say the variable that holds the calendar and apparently being used in that function would be null or undefined since it has not been assigned the \"calendar\" object instance.
That would happen if you want to control 2 calendars according to their date.
A workaround is to instantiate the calendars and then do for both (i.e.):
cal_a.options.pickFunction = function(d){ // adjust_dates };
lq.
Nov 27, 2009
Hi,

What is the code to show the calendar after the dom is ready. I do not want to use it as a date picker of an input. I want to show off the calendar.

Also, how do I set and array of Dates to be clicked and other class name?

Thanks.
lq.
Nov 27, 2009
I was seeking something like Example V of Vista Calendar: http://dev.base86.com/app/pages/scripts/vista-like_ajax_calendar_version_2/

And I would like to have some dates to use different class style and be clicked to some link ID....
lq.
Nov 27, 2009
I was seeking something like Example V of Vista Calendar: http://dev.base86.com/app/pages/scripts/vista-like_ajax_calendar_version_2/

And I would like to have some dates to use different class style and be clicked to some link ID....
lq.
Nov 27, 2009
I can open the calendar.. I just can't set an array of dates to display in the calender using another style and be clickable...

also, I'm stuck with the calendar Allways open.. How can I close or hide the calender via mootools javascript??

Thanks in advance.
lq.
Nov 27, 2009
I'm using this:
$$('.calendar-eightysix').each(function(el, i){

el.dispose();

});

Now.. All I need is to set an Array of Dates to display in the Calendar.. Any help?!

Thanks.
diogenes
Dec 2, 2009
I am interested in purchasing this product if I can figure out how to just select a month?
I don't need to know or deal with the days and it would be a confusing step for my users.
Cheers.
bob
Dec 11, 2009
I can confirm what Leslie in comment 35 has said regarding the inclusion of jQuery.

If you have anything else on the page that needs jQuery the Calendar will not work, however should jQuery be removed everything works fine.

Various different errors occur when trying the current versions of MooTools and jQuery and also some backdated versions

However, love the Calendar ! and it would be great if a fix for this could be found.
Dimas
Dec 12, 2009
It's great calendar picker. Is there a way that I can input the time too ? :D
rcz
Dec 13, 2009
Regarding the inclusion of two Javascript frameworks: this is not done, and will never be supported. You won't ride with two bicycles on a road would you Face: Glasses?

Time-picking will be a feature in the next release.
Scott
Dec 17, 2009
I noticed that the rendering of the calendar is slightly off in IE8. Are there plans for supporting IE8 in the near future?
Damien
Dec 18, 2009
Hello !
excellent script , but i noticed a bug in IE6 (XPSP2) The arrows doesnt show .... can it be fixed ?
Scott
Dec 21, 2009
I fixed a bug with the visibility of the left/right arrows when the min/max dates were outside the current calendar setting but inside the constraints of the current container. For example, set the maxDate to Dec 3, 2009, then go to November 2009 (arrow will be missing).

I also updated the code to add Today and None options in.

If anyone is interested in the code, email me. Thanks...
Neopalm
Dec 21, 2009
how i can use this calendar with
innerHTML Like this....

<--! This 's the page which in iframe (iframe style="display:none;") ,and innerHTML to main page in index.php at div tag -->

<script language="JavaScript" type="text/JavaScript">
function load_content () {
if (parent.document.getElementById('main_div')) {
parent.document.getElementById('main_div').innerHTML=document.getElementById('inner_frame').innerHTML;
}
if (!parent.document.getElementById('main_div')) {
window.location=('index.php') ;
}
}
</script>
<body onload="load_content()">
<div id="inner_frame">
<table cellpadding="0">

<tr>
<th>Example III</th>
<td>
<input id="exampleIII" name="dateIII" type="text" maxlength="10" style="padding-right: 22px;" />
<div class="picker inElement" id="exampleIII-picker"></div>
</td>
</tr>
</table>
</div>
</body>

A Problem is ....
In iframe it work good
But in main div which innerHTML from Above Script ,It does not working.

Sorry About My English.
Any one help me.
reycanedo
Dec 23, 2009
This calendar works with AJAX? I've tried several ways and I do not work, saludos
Pere
Jan 5, 2010
Hello!

First of all, congratulate you on your calendar!

I have a question however, is not programmed with jQuery?
Richard Catto
Jan 6, 2010
Your CSS class names conflicts with mine. I had to edit your code to rename your classes from generics such as "header" to "calheader".

It's best you rename all your css classes with unique names to your calendar app, or conflicts will continue to arise.
HJM
Jan 8, 2010
Hi Jeff!

Thank you for your great Job.

Now i have a question (or problem maybe).

For the hidden field this datepicker created, when the user give or select a date and submit, will the value in this hidden field or on that visible input field be submitted?

This is important because i need to do something with date localization. That means the user can input date in localized format of his language, but when he submits, always only 'standard' format (that i defined for hidden field, i.e. YYYY-MM-DD) should be submitted. So i can just easily save it in database.

But so far i've tested, both value in hidden and visible field will be submitted, is ok, but wouldn't it be nice if only the value in hidden field is submitted and make our server backend think this value come from a normal visible field?
machIT
Jan 8, 2010
I have a big problem to change to date..?

Under Functions i found this source...

var calendar = new CalendarEightysix('e_date');
calendar.setDate('01.01.2000');

But it doenst work ?

How can i change the date..?
Does anybody can help me?

Thanks a lot!
ToM
Jan 8, 2010
I found antoher problem...
if i change prefill attribute to false

there will be a crazy default value

01.01.1970 <-- ?

is there antoher option i blank the form field @ start?
MB
Jan 11, 2010
Hello,
I think this calendar is great. However, for me I am getting this error: \"this.target is null\" when the page has a MasterPage.
Otherwise the calendar work just fine on a page without MasterPage. What am I missing
Nigel
Jan 12, 2010
Hi
This is a great calendar, thanks.

I have found one problem with Example IX when using drop downs. When I update the drop downs and then click on the calendar, the date is not updated to the new ones selected on the drop down.
jay
Jan 13, 2010
In IE6, on the page where I use this, the browser CRASHES, when you change the url (go to another page or submit the form). Anybody else running into this? (Yes, I have a situation where I actually HAVE to use the dreaded IE6 - not by choice).
Sreekanth
Jan 21, 2010
Hello,

We will like to use this for our commercial product and would like to purchase this. Before we can buy this, I would like to know if it supports the below features.

1) Can it just act like a month picker instead of showing the dates? We would like to use this to pass parameters to a monthly report

2) Is there a way to disable any future dates or months?

Your response will be greatly appreciated.

Thanks,
Sreekanth
MarkSpoon
Jan 24, 2010
Hello,

i found this great calendar and be very happy for that. Only one problem for me.

On the formular i will show the date in format : %d.%m.%Y and the output, if the user is pressing "send", should be in format %t.
How can i ge this work? Is it possible?
Can anyone help me?
rcz
Jan 28, 2010
1) Can it just act like a month picker instead of showing the dates? We would like to use this to pass parameters to a monthly report 2) Is there a way to disable any future dates or months?
1) This is currently being developed in the new version.
2) Yes. Set maxDate to 'today'.

On the formular i will show the date in format : %d.%m.%Y and the output, if the user is pressing "send", should be in format %t.
You can create a hidden input element with createHiddenInput = true. This can contain a different format you will need, invisible for the user. See datepicker_calendar_eightysix.html#options

I have a question however, is not programmed with jQuery?
No. However a jQuery version will be developed in the near future.
Arian
Feb 2, 2010
When do you add this amazing plugin to the MooTools Forge. Then it would be even more amazing
rcz
Feb 2, 2010
When do you add this amazing plugin to the MooTools Forge. Then it would be even more amazing
It's on my big to-do-list Face: Monkey
Alexander Christensen
Feb 5, 2010
Hi, first of all, thx for scaring this with us. I love the calendar.Face: Happy

There is just one problem that I have found:

If you change: ('maxDate': null,) -> ('maxDate': 'today',)

Then you will not be allowed to go forward again, if the pick a day before: 2000.

How can that be? And what can I do to change this failure?
Fli7e
Feb 9, 2010
One suggestion which i implemented myself into your latest release is to transport the Calendar-Object itself by the pickFunction.

I just replaced "this.selectedDate" with "this"

this.options.pickFunction(this);

and within the pickFunction itself i can reference to all of the functions to have more options to work with.
Aage
Feb 10, 2010
As i #56 - is it possible to have a blank field - and how?
Stefan
Feb 12, 2010
This looks fantastic!

Is there a way to make a certain set of dates selectable? Anotherwords, I would like to have more precision that minDate/maxDate.

Thanks!
Alexander Christensen
Feb 13, 2010
#66

Where do you replaced this? I have't found any place in the code where it says anything about:

\"this.selectedDate\" - or - this.options.pickFunction(this);

?? :)

"var calendarA = new CalendarEightysix('calendarA', { 'pickFunction': function(date) { calendarB.options.minDate = date; calendarB.render(); } });
var calendarB = new CalendarEightysix('calendarB');" - I can't get this code to work, can anyone help me?
Henrik
Feb 13, 2010
Hi, I have the same problem. I have just found out something to do:

var calendarA = new CalendarEightysix('calendarA', { 'minDate': 'today', 'pickFunction': function(date) { calendarB.options.minDate = date; calendarB.render(); } }); 			var calendarB = new CalendarEightysix('calendarB', { 'pickFunction': function(date) { calendarA.options.maxDate = date; calendarA.render(); } });         });


The only problem I have, is that I can't inset following, without the code crash!!

'prefill': 'null'

Can anyone help me?
Eduard
Feb 25, 2010
var miDate = new Date(2010,01,01);
var calendar = new CalendarEightysix('calendar', { 'theme': 'default red', 'startMonday': true, 'format': '%d-%m-%Y', 'minDate': 'today', 'defaultDate': miDate, 'slideTransition': Fx.Transitions.Back.easeOut, 'draggable': true, 'offsetY': -4 , 'disallowUserInput' : true, 'toggler': 'calendar-picker'});
Putnik
Mar 2, 2010
Hi there! Thanks for great stuff. Sorry for annoying, but it means stuff is REALLY useful or otherwise there wouldn't be any comments :)

But I have problem too, please help :(

var calendarS = new CalendarEightysix('t_start', { 'startMonday':'true', 'defaultView': 'year', 'format': '%d/%m/%Y' }); 

.......
//somewhere in onClick:
calendarS.setDate('06/05/2001');

It don't work for me completely.
I tried with/without 'format', MooTools.lang.set (..... dateOrder: ['date', 'month', 'year', '/']), and wonder what I have to do?
Helfer
Mar 8, 2010
First impression: This is a very well designed calendar. Will have a look into its funcionality now. Cheers.
Alan Ihre
Mar 12, 2010
Really great calendar!
It works really good for me, thanks!
Face: Happy
cemilcelik84
Mar 16, 2010
I had been used the previos version. It was very good. I am using the new version now. It also very good. Thanks a lot. Face: Grin
Lei Wu
Mar 17, 2010
Hi, I have a problem using this calender. I need a way to define the default location to right beside the text box, as right now, the calender is appearing all over the place, and 1 unique place for each browser (so a simple offset does not work). I am thinking about doing a browser detect, but not really sure where the best place and the best way to make the change. (Just a side note, I haven't worked with javascript before)
Lei Wu
Mar 17, 2010
An update to my problem from above, it seems the reason for it acting wierd is because it tries to auto center on the page. Therefore the calender moves as my browser's size change. Can anyone help me remove this feature (from css I'm guessing, but can't seem to find the "margin:auto" code)

By the way, this is a great program, and will work even better if I can get this problem out of the way. Thank you
Julius
Mar 18, 2010
How can i create the calendar object after this event? window.addEvent('domready'
i want to create a input with javascript and use the Calendar without reload the page.
thanks!
Mark
Mar 18, 2010
Sorry for basic question but have the same needs as "Pasci" above. That is to force the second calendar (called "departure") to select only from dates later than the first calendar (called "arrival").

I saw the suggested solution but am a newbie and don't know how or where to implement this.

Any help would be appreciated.

Add comment

Message
Name
Confirmation code
Confirmation code