Calendar help!
| From: | Gerard Bowe | Date: | Wed, 19 Oct 2005 16:45:02 +0000 |
| Subject: | Calendar help! | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21543@lists.php.net to get a copy of this message | ||
Is there a way to highlight (css class) the actual date (today) using Calendar.
most of the examples use $Day->isSelected(), but this will highlight a selected day, and changes when another day is clicked?
echo '<td class="dayEmpty';
if ($Day->isSelected()) {
echo ' dayNow';
} elseif ($Day->isEmpty()) {
echo ' dayEmpty';
}
echo '">';
Thanks
ger