Edwin
February 8, 2013 at 8:46 pm
ADD TOOLTIP TO WIDGET ! find this line “$espresso_calendar_widget .= ‘eventRender: function(event, element) { ‘;” (line 83!) on espresso-calendar-widget.php and add this lines after that $espresso_calendar_widget .= ‘element.qtip({content:{text: event.title + event.startTime}, position: {my: ‘bottom center’, at: ‘top center’}})’; $espresso_calendar_widget .= ‘;’; DONE!
This topic was modified 11 years, 9 months ago by Edwin .
This topic was modified 11 years, 9 months ago by Dean . Reason: moved to Calendar forum to help add context to title
Dean
February 11, 2013 at 1:40 am
Add New Note to this Reply
Nice find Edwin!
I did one slight change to add a space between the event title and time
$espresso_calendar_widget .= 'element.qtip({content:{text: event.title + " " + event.startTime}, position: {my: \'bottom center\', at: \'top center\'}})';
$espresso_calendar_widget .= ';';