fullcalendar background events: background color not shown in Safari / Firefox / IE -


i use fullcalendar scheduler add-on (http://fullcalendar.io/docs/scheduler/) when use code below, background event not coloured silver in safari / firefox /ie (no color @ all...). shows silver color in chrome.

$('#calendar').fullcalendar({ events: [     {         start: '2016-04-01 06:00',         end: '2014-04-01 10:00',         rendering: 'background',         color: 'silver',         resourceid: 1     } ] 

});

how can fix issue?

thanks in advance!

kind regards, kim

you can set classname attribute of events

events: [     {         start: '2016-04-01 06:00',         end: '2014-04-01 10:00',         rendering: 'background',         classname: event_silver,         resourceid: 1     } 

and in css:

.event_silver {     background-color: silver; } 

kind regards, romain


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -