Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FullCalendar change cell color on mouseover

I want the cell color to change temporarily when users mouseover a day's cell in FullCalendar. The closest I've been able to come is eventMouseover, which only changes color if the cell is clicked (I am looking for hover or mouseover, not click). Without an object like a div, span or td, I find it difficult to apply an "onmouseover" command. Does this make sense? Any suggestions?

like image 668
muybn Avatar asked Oct 21 '22 00:10

muybn


2 Answers

.fc-day:hover{background:lightblue;cursor: pointer;}

Try this in fullcalendar.min.css or fullcalendar.css


I've had success by simply doing this:

 .fc-content td:hover{background: #adf4fa;}
like image 35
PercivalMcGullicuddy Avatar answered Oct 23 '22 16:10

PercivalMcGullicuddy