I am trying to get Fullcalendar working with twitter boostrap popovers.
if I click an event, i want to show some details in the popover.
So first added this lil snippet to Fullcalendar:
eventClick: function(event, jsEvent, view) {
$this = $(this);
$this.popover({html:true,title:event.title,placement:'top'}).popover('show');
return false;
},
But now I run into 2 problems:
thanks!
From version 2.3 bootstrap now has a "container" option for popovers which appends the popover to a specific element.
just add {container:'body'}
to append it to the body
$this.popover({html:true,title:event.title,placement:'top',container:'body'}).popover('show');