現在、http: //arshaw.com/fullcalendar/ (フル カレンダー プラグイン) と qtip2 プラグインを使用しています。qtip2 ポップオーバーを使用してイベントを作成したい。どうすればいいのかわかりませんか?誰でもこれについて私を案内してもらえますか?
1 に答える
0
select
オプションを新しい関数youFunction
(コールバック)にバインドします。この新しい関数では、選択した日付パラメーターを受け取る必要があり、必要に応じてイベントを操作して保存できます。
$('#calendar').fullCalendar({
// put your options and callbacks here
//...
select: yourFunction,
//...
});
function yourFunction(startDate, endDate, allDay) {
//open your popover, manipulate the data and save the event.
}
于 2013-08-26T16:46:54.033 に答える