我正在嘗試爲fullcalendar學習qtip,但它似乎不起作用。我試過所有的教程/例子,但沒有任何作品像他們說的那樣。我使用下面的代碼,但我嘗試了很多其他的選擇。我有沒有明顯的過錯?Qtip with fullcalendar
dayClick: function(date, allDay, jsEvent, view) {
$(this).qtip({
content:"",
overwrite: false,
position: { corner: { target: 'topMiddle', tooltip: 'bottomMiddle' },
viewport: $(window), // Keep it on-screen at all times if possible
adjust: { x: 10, y: 10 } },
show: { when: 'click', // Don't specify a show event
ready: true // Show the tooltip when ready },
hide: { when: 'click' },
style: {
border: { width: 5, radius: 10 },
padding: 10,
textAlign: 'center', //tip: true,
// Give it a speech bubble tip with automatic corner detection name: 'cream'
// Style it according to the preset 'cream' style } }); }