thekingsimo / jquery-week-calendar

Automatically exported from code.google.com/p/jquery-week-calendar
0 stars 0 forks source link

colors for different events in jquery week calendar #136

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am new to JQuery Week Calendar and I have a question about CSS. I would like 
to write a separate CSS file specifying different colors for different events.
my eventRednder code is ...

eventRender : function(calEvent, $event) {
    if (calEvent.end.getTime() < new Date().getTime()) {
        $event.css("backgroundColor", "#aaa");
        $event.find(".wc-time").css({ "backgroundColor": "#999", "border": "1px solid #888" });
    }
},

thanks/
uday

Original issue reported on code.google.com by udayakir...@gmail.com on 17 Oct 2012 at 10:35