Class YAHOO.widget.Calendar2up_Cal
Calendar2up_Cal is the default implementation of the Calendar_Core base class, when used
in a 2-up view. This class is the UED-approved version of the calendar selector widget. For all documentation
on the implemented methods listed here, see the documentation for Calendar_Core. This class
has some special attributes that only apply to calendars rendered within the calendar group implementation.
There should be no reason to instantiate this class directly.
Defined in: calendar.js.
Constructor Attributes | Constructor Name and Description |
---|---|
YAHOO.widget.Calendar2up_Cal(id, containerId, monthyear, selected)
|
Method Attributes | Method Name and Description |
---|---|
Renders the header for each individual calendar in the 2-up view.
|
Class Detail
YAHOO.widget.Calendar2up_Cal(id, containerId, monthyear, selected)
- Parameters:
- {String} id
- The id of the table element that will represent the calendar widget
- {String} containerId
- The id of the container element that will contain the calendar table
- {String} monthyear
- The month/year string used to set the current calendar page
- {String} selected
- A string of date values formatted using the date parser. The built-in default date format is MM/DD/YYYY. Ranges are defined using MM/DD/YYYY-MM/DD/YYYY. Month/day combinations are defined using MM/DD. Any combination of these can be combined by delimiting the string with commas. Example: "12/24/2005,12/25,1/18/2006-1/21/2006"
Method Detail
renderHeader()
Renders the header for each individual calendar in the 2-up view. More
specifically, this method handles the placement of left and right arrows for
navigating between calendar pages.