This is a migrated thread and some comments may be shown as answers.

Disabling hover for specific timeslot

1 Answer 102 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Michel
Top achievements
Rank 1
Michel asked on 23 Oct 2008, 07:50 PM
Hi,

I'm using the scheduler ,in DayView, with multiple rooms (resources). These rooms have differents Open/Close time.

To show that in the scheduler I have done the following:

Find minimum open time and maximum open time and then set the WorkDayStartTime, WorkDayEndTime and DayStartTime, DayEndTime.

Then on server side OnTimeSlotCreated I change the background color of timeslot for those who are closed and also for the slotds that are sooner than DateTime now.  I don't want to add appointment into closed or passed timeslots.

Now, I would really like to remove the Hover highlight only over those closed/passed timeslot to help show that you can't add appointments there and  keep the hover for the available slot.

How can I do that ?

Thanks,
Mike

1 Answer, 1 is accepted

Sort by
0
Michel
Top achievements
Rank 1
answered on 23 Oct 2008, 08:16 PM

I answer myself, I was missing the "!important" directive in the css. 

div.rsContent

 

.rsCell.schedulerDisableTimeslot
{
    background: #808080 !important;
}

 

Tags
Scheduler
Asked by
Michel
Top achievements
Rank 1
Answers by
Michel
Top achievements
Rank 1
Share this question
or