Change color of past events in Fullcalendar
问题 I'm trying to implement this solution to "grey out" past events in Fullcalendar, but I'm not having any luck. I'm not too well versed in Javascript, though, so I assume I'm making some dumb mistakes. I've been putting the suggested code into fullcalendar.js, inside the call for daySegHTML(segs) around line 4587. I added the first two lines at the end of the function's initial var list (Why not, I figured)—so something like this: ... var leftCol; var rightCol; var left; var right; var skinCss;