search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Change mouse icon to hand on mouse over of monthview

Asked by Anonymous
11 years ago.
Hi, I want to change the mouse icon to hand when a User hovers over an event in the monthview and the daypilot bubble displays details about the event. Can anyone please tell me how to achieve this.
Answer posted by Dan Letecky
11 years ago.

At this moment it's hardcoded. You would need to change it in the source code.

Comment posted by Ramanan
11 years ago.
Hi, Thanks for the reply. Can you please tell me where we should change it. We are planning to purcahse the license so will this already be solved in the licensed version. Thanks in advance.
Comment posted by Dan Letecky
11 years ago.

It's line 669 in Month.src.js in the latest build - e.onmousemove() function.

Replace this line

e.style.cursor = 'default';

with this:

e.style.cursor = 'pointer';

You may want to check the compilation instructions:

Comment posted by Anonymous
11 years ago.

Thanks

Comment posted by Greg
9 years ago.

Any thought to moving to an option for the control itself. i would like to use pointer too but don't really want to recompile your code after every release you push out.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.