我已将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