开发者

jquery Full calendar and shadowbox

How to call a shadow box in full calendar.. 开发者_开发问答assuming I do have an event and when the user(client browser) click on that event it will call the shadow box or light box... any idea would help.. thanks


Override the eventClick callback and open the shadow/lightbox with that events data.

Here's a contrived example:

$('#calendar').fullCalendar({
    eventClick: function(event, jsEvent, view) {
        Shadowbox.open({
            content: '<div id="event-msg">Welcome to event #' + event.id + '!</div>',
            player: 'html',
            title: 'My Event'
        });
    }
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜