我已將Fullcalendar集成到我網站的主頁上。代碼是...Fullcalendar高度問題
<script type='text/javascript'>
$(document).ready(function() {
$('#calendar').fullCalendar({
events: {
url: 'https://www.google.com/calendar/feeds/XXXXXXXXimport.calendar.google.com/public/basic',
className: 'gcal-event', // an option!
currentTimezone: 'Europe/London' // an option!
},
eventMouseover: function(event, jsEvent, view) {
if (view.name !== 'agendaDay') {
$(jsEvent.target).attr('title', event.title);
}
}
});
});
</script>
如何調整日曆內容的整體高度?我看了這個鏈接...
http://arshaw.com/fullcalendar/docs/display/height/
...並試圖遵循的指導,但我必須寫代碼錯誤的,因爲它不會爲我工作。我想限制高度爲180px。
真的很感謝任何幫助。
高度選項以像素表示。那麼你必須寫出身高:180而不是身高:180px。也許這是你在不成功的測試中做了什麼? – Doomsday 2012-01-23 12:27:58