またブログネタなのですが…! サイドバーなどに設置するカレンダーには、 日曜日の列は赤字にしたり土曜日の日を青字にしたいという こだわりがあるんですが、デフォルトなどは列ごとに区別できるclassとかは さっぱり入ってないので、CSSで指定したりできませんでした。 とりあえずプラグインのカレンダーを色々探しましたが、 ぱっと見そのあたりを満たしてそうなのはなさげだったので、 もうこれは作るか…と。(・ω・) とりあえずプラグインでもAJAX Calenderが機能的にステキだったのと、 いい感じに弄れそうだったのでこれを改造しちゃうことに。 GPLらしいので公開しちゃうー。 ajax-calendar2/model/calender.php 128行目 – echo “\n\t\t<th abbr=\”$wd\” scope=\”col\” title=\”$wd\”>” . $day_a