jscalendar-0.9.6 "Keep cool but don't freeze"

Theme:
winter | blue | summer | green
win2k-1 | win2k-2 | win2k-cold-1 | win2k-cold-2
system
Release notes.
Set it up in minutes: popup calendar, flat calendar.
Documentation: HTML, PDF.
Donate! Keep me on it! Details on the Calendar website.

Popup examples

Date #1: %Y-%m-%d [%W] %H:%M -- single click
Date #2: %a, %b %e, %Y [%I:%M %p] -- double click

this select should hide when the calendar is above it.

Date #3: %d/%m/%Y -- single click
Date #4: %A, %B %e, %Y -- double click

This is release 0.9.6. Works on MSIE/Win 5.0 or better (really), Opera 7, Mozilla, Netscape 6.x, 7.0 and all other Gecko-s, Konqueror and Safari.

You can click on "Mo"/"Su" (first day name displayed) to change the first day of week (Sunday/Monday) (since 0.8 this is also mapped on the "-" button in the top-left corner). Use the navigation buttons ("<<", "<", "Today", ">", ">>") to move to the prev/next year/month. Keep the mouse button pressed for a short time over one of these buttons to get a menu for faster selection. You can drag the "status bar" (that's where the tooltips appear) or title bar (that's where the currently selected month/year shows up) to move the whole calendar.

Keyboard navigation

Starting with version 0.9.2, you can also use the keyboard to select dates (only for popup calendars; does not work with Opera 7 or Konqueror/Safari). The following keys are available:

  • , , , -- select date
  • CTRL + , -- select month
  • CTRL + , -- select year
  • SPACE -- go to today date
  • ENTER -- accept the currently selected date
  • ESC -- cancel selection
Flat calendar

A non-popup version will appear below as soon as the page is loaded. Note that it doesn't show the week number.

The example above uses the setDisabledHandler() member function to setup a handler that would only enable days withing a range of 10 days, forward or backward, from the current date.


© dynarch.com 2002-2003
Author: Mihai Bazon
Distributed under the GNU LGPL.

If you use this script on a public page it would be nice if you would let me know.