Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 02:38 am EDT

Geeklog Forums

Holidays In Calendar


Status: offline

Arcanum

Forum User
Junior
Registered: 11/05/04
Posts: 26
Location:Hokkaido, Japan
How can I change the color of a specific day in the calendar? I want to add holidays to my event calendar, but I don't want them to be like a regular holiday event. The site I am making is for the board of education of a small town in Japan, so I want to make the calendar look like a regular Japanese calendar. What I want to do is put in all of the Japanese national holidays into the calendar and have the color of that day changed to red. If I just add in an event as a holiday type that doesn't really do me much good because it doesn't change the color of the day. Does anybody know how I can change the color of a specific day? Thanks in advance for any help!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog's calendar doesn't really have a concept of a holiday. So this would require some coding ...

You'll have to find a way to tell the holidays and the normal events apart and then simply add a class="holiday" or something similar to the HTML produced by the calendar.

bye, Dirk
 Quote

All times are EDT. The time is now 02:38 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content