[jQuery] jquery ui datepicker and cluetip
Hello,
i am trying to use cluetip to show events schedule when the mouse is
over a datepicker date.
I found this way :
...
beforeShowDay: function(date) {
return [dates[date], (dates[date]) ? 'info_evenement' : '',
information_du_jour];
},
onChangeMonthYear: function() {
setTimeout(function()
{
$('.info_evenement').cluetip({cluetipClass: 'jtip', splitTitle:
'|', showTitle: true});
}, 100);
}
...
information_du_jour is the description of the events of a precise day
(according to date) with a title.
Do you know a simplier or better way to achieve my goal?
Thanks,