And maybe also a different background color for the current day (this
is really hard to see for the moment). Still thinking how this would
work then with booked days ...
As with the current day, I think that the best method is to use the
borders.
I don't know if you have actually looked through the php function that
actually creates the calendar, but if you do you will see that infact
the weekend days are already marked with an extra class "weekend".
Also, in the css file this class exists however with no styles
attached (atuall just checked it and it has a border style commented
out). So, to highlight the weekend days you just need to modify this
class :)
I hope that helps :)
Chris
function.inc.php:
// add weekend class - used in javascript to alter class or set
opacity
$getdate=getdate($date_timestamp);
$day_num=$getdate["wday"]+1;
if ($day_num % 7 == 1) $day_classes.=' nedele';
elseif ($day_num % 6 == 1) $day_classes.=' sobota';
avil-calendar.css:
.cal_month ul li.nedele { border:1px dotted #C33; }
.cal_month ul li.sobota { border:1px dotted #66F; }
.cal_month ul li.today { border:1px solid #0F0; }
Petr
However, I see from your code that you have actually have set
different styles for Saturday and for Sunday so your use is clearly
differant :)
Chris