To the Point Home
expertisefeatured engagementsclientspeoplesitemap

Software Details

Calendar demo See the demo.

calendar.tcf

Witango class file for displaying date information in XHTML.
Copyright 2005, To the Point. All Rights Reserved.
Author: William M. Conlon, P.E., Ph.D.

draw_month

This method will render a monthly calendar in various forms depending on the input parameters.

Parameters

Nametypedescription
dateRequired textThis is a date in the witango date format (e.g. DATEFORMAT=%m/%d/%Y. This date will be highlighed in the calendar.
classoptional texta CSS class to be applied to table, tr, th, and td tags.
date_arrayoptional any*This a an array of dates. It may optional have a second column contain text to be displayed within a cell. An optional third column contains an anchor href to be applied to the text from the second column. If only the first column of dates is present, then the date is hyperlinked using the value of Choose_URI as the href target.
change_URIoptional textthis is a URI used to change the month being viewed. Dates in witango date format (URL encoded) are appended to the URI to create hyperlinks to the previous month & year, and next month & year. If not included, then the next/previous links are not shown.
choose_URIoptional textthis is a URI used to select a particular date. Dates in witango date format (URL encoded) are appended to the URI to create hyperlinks. If not included, there is no hyperlink
month_styleoptional textspecifies a CSS style too be applied to the cells in the first row of the table, containing the month and option next/previous links.
days_styleoptional textspecifies a CSS style too be applied to the cells in the second row of the table, containing the days of the week.
weekend_styleoptional textspecifies a CSS style too be applied to the cells in the Sunday and Saturday columns of the table
holiday_styleoptional textspecifies a CSS style too be applied to the cells in that match dates in the holiday array
holiday_arrayoptional arraya one-column array of dates, in the witango date format, specifying holidays to which the holiday style is to be applied

Valid XHTML 1.0 Transitional

 
Home | Expertise | Featured Engagements | Clients | People | Sitemap