Re: Calendar help!
| From: | Lorenzo Alberton | Date: | Thu, 20 Oct 2005 08:08:01 +0000 |
| Subject: | Re: Calendar help! | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21557@lists.php.net to get a copy of this message | ||
Hi Gerard,
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?have a look at example #2, and populate the $selectedDays array with *only* this value: $selectedDays = array (
new Calendar_Day(date('Y'), date('m'), date('d')),
);
HTH
Regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo