Codetale's Calendar Widget

Options & Flags

iMonth
Option: defines the default month for the calendar
Values: 0-11 (January - December)
Default: PC date.

iYear
Option: defines the default year for the calendar
Values: Year, 4 digits format
Default: PC date.

iDay
Option: defines the default day for the calendar
Values: 1-31
Default: PC date.

itype
Option: See the description below regarding imaxDays,stDay,stMonth,stYear
Values: "strict" or "loose"
Default: "loose"

imaxDays
Option: days can be selected only on this range of days (specified by a number) starting with startDay,startMonth,startYear(see below). imaxDays only counts if itype is "strict".
Values: >0

startDay
Option: enable date selection from this day forward counting imaxDays
Values: 1-31
Default: iDay.

startMonth
Option: enable date selection from this month forward counting imaxDays
Values: 0-11
Default: iMonth.

startYear
Option: enable date selection from this year forward counting imaxDays
Values: year, 4 digit format
Default: iYear.

saturdayOff
Option: Disables selection for saturdays (this is independent from imaxDays and itype)
Values: true/false
Default: false

sundayOff
Option: Disables selection for sundays (this is independent from imaxDays
and itype)
Values: true/false
Default: false

sundayFirst
Option: Displays the calendar with sunday as the first day of the week.
Values: true/false
Default: false

offX
Option: x distance from the mouse for the popup calendar
Values: >0
Default: 10.

offY
Option: y distance from the mouse for the popup calendar
Values: >0
Default: -10.

formatSplitter
Option: date separator
Values: string
Default: "-".

monthFormat
Option: month format on the input. June will be displayed as "Jun" in "mmm" format or as "06" in "mm" format.
Values: "mmm" or "mm"
Default: "mm"

yearFormat
Option: year format on the input. 2009 will be displayed as "2009" in "yyyy" format or as "09" in "yy" format.
Values: "yyyy" or "yy"
Default: "yyyy"

callNotice
Option: Call a function when a date is selected
Values: "function name"
Default: "fallsilent()"

Usage examples.