I would like to bring up information about an event when i hover over it; in the form of a tooltip.
Any ideas on how to do this?
I would like to bring up information about an event when i hover over it; in the form of a tooltip.
Any ideas on how to do this?
I have found out that you can attach this event with jquery after the scheduler has loaded:
$('.dhx_cal_event_line').hover(
function(){
scheduler.getEvent($(this).attr('event_id'));
}
);
The object returned example for everyone else:
{
end_date: Tue Oct 09 2012 00:00:00 GMT+0100 (GMT Daylight Time)
id: 1348571695716
section_id: "1493437"
start_date: Mon Oct 08 2012 00:00:00 GMT+0100 (GMT Daylight Time)
text: "Take a horse to water; convince it to drink"
}
There must be a better way of doing this…
I now must re initialise this script every time I click a left/right button or change the view…
Any ideas?
Hello,
We also have tooltip extension just for that, be sure to check following sample:
scheduler\samples\03_extensions\20_tooltip.html
Best regards,
Ilya
That’s excellent. That sample does the job nice…