This page explains how to create a theme for the jQuery Calendar plugin.
Contents |
<div id="calendar_div">
<div class="calendar_control">
<a class="calendar_clear">Clear</a><a class="calendar_close">Close</a>
</div>
<div class="calendar_links">
<a class="calendar_prev"><Prev</a>
<a class="calendar_current">Today</a>
<a class="calendar_next">Next></a>
</div>
<div class="calendar_header">
<select class="calendar_newMonth"></select>
<select class="calendar_newYear"></select>
</div>
<table class="calendar" cellpadding="0" cellspacing="0">
<thead>
<tr class="calendar_titleRow">
<td><a>Su</a></td><td><a>Mo</a></td>...
</tr>
</thead>
<tbody>
<tr class="calendar_daysRow">
<td class="calendar_daysCell calendar_weekEndCell
calendar_otherMonth calendar_unselectable">31</td>
<td class="calendar_daysCell"><a>1</a></td>
<td class="calendar_daysCell calendar_daysCellOver"><a>2</a></td>
<td class="calendar_daysCell calendar_daysCellOver calendar_currentDay"><a>3</a></td>
<td class="calendar_daysCell calendar_today"><a>4</a></td>
...
</tr>
...
</tbody>
</table>
<div style="clear: both;"></div>
</div>
.calendar_cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 193px; /*must have to match width and borders*/
height: 200px; /*must have to match maximum height*/
}
#calendar_div {
display: none;
z-index: 10; /*must have*/
}
/* Reset link properties and then override them with !important */
#calendar_div a, .calendar_inline a {
cursor: pointer;
margin: 0;
padding: 0;
background: none;
color: #000;
}
.calendar_control a {
padding: 2px 5px !important;
color: #eee !important;
}