Thursday 13 March 2008

Javascript Calendar

There are lots of Javascript Calendars out there, both in the form of javascript(s) or within an AJAX library (DOJO, Scriptaculous). Recently, I came across The Coolest DHTML / JavaScript Calendar [dynarch.com] and it was extremely easy to use! It only requires a few lines of codes in your HTML and bang, you've got a working date picker.

One thing to note is, it can clash with your existing css. JsCalendar is actually using "calendar" class for its div, and it has a table within the div. The solution to this problem is by adding this piece of css code:

.calendar table {
width: auto;
}

blog comments powered by Disqus
Share |