Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
How can I add onmouseover on Appointment of webdayview?
posted

How can I add onmouseover on Appointment of webdayview?

I used
dayView.AppointmentTooltipFormatString = @"<START_DATE_TIME> - <END_DATE_TIME><NEW_LINE><SUBJECT><NEW_LINE><LOCATION>";
for  the details of appointment,  but it isn't my want. because it will be disappear after several seconds.

I  used
dayView.AppointmentFormatString = @"<a onmouseover=''><SUBJECT></a>";
but the area is small, not all appointment's area.

So I wonder if any other choices for this purpose,

thanks in advance.

 

 

 

  • 300
    posted

    I've figured it out using Jquery:

        $('.igdv_Appointment', this).each(function() {
                    var key = $(this).attr('key');
                    $(this).mouseover(function() { LookupApt(key); })               
                });

    but I'm still struggling to deal the width of Appointment,

    $('.igdv_Appointment', this).each(function() {
                    var key = $(this).attr('key');
                    $(this).mouseover(function() { LookupApt(key); })               
                    $(this).width() = $(this).width() - 50;            
                });

    it doesn't work.