CodeThatCalendar in the Frame
Month+year scrollers. Calendar in the frame.
var caldef1 = {
firstday : 0, // First day of the week: 0 means Sunday, 1 means Monday, etc.
dtype : 'MM/dd/yyyy', // Output date format MM-month, dd-date, yyyy-year,
// HH-hours, mm-minutes, ss-seconds
width : 250, // Width of the calendar table
windoww : 300, // Width of the calendar window
windowh : 200, // Height of the calendar window
border_width : 0, // Border of the table
border_color : '#ffffff', // Color of the border
dn_css : 'clsDayName', // CSS for week day names
cd_css : 'clsCurrentDay', // CSS for current day
tw_css : 'clsCurrentWeek', // CSS for current week
wd_css : 'clsWorkDay', // CSS for work days (this month)
we_css : 'clsWeekEnd', // CSS for weekend days (this month)
wdom_css : 'clsWorkDayOtherMonth', // CSS for work days (other month)
weom_css : 'clsWeekEndOtherMonth', // CSS for weekend days (other month)
wdomcw_css : 'clsWorkDayOthMonthCurWeek',
weomcw_css : 'clsWeekEndOthMonthCurWeek',
wecd_css : 'clsWeekEndCurDay',
wecw_css : 'clsWeekEndCurWeek',
highlight_css : 'clsHighLight',
headerstyle : {
type : 'buttons', // Type of the header may be: 'buttons' or 'comboboxes'
css : 'clsDayName', // CSS for header
imgnextm : 'forward.jpg', // Image for next month button.
imgprevm : 'back.jpg', // Image for previous month button.
imgnexty : 'forward.jpg', // Image for next year button.
imgprevy : 'back.jpg' // Image for previous year button.
},
// Array with month names
monthnames : ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
// Array with week day names
daynames : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
template_path : 'calendar/',
img_path : 'img/'
};