1

我无法将 Google 日历连接到完整日历。该事件仅显示在左上角的日历框架中。如果我在谷歌日历中输入多个事件,它也只会在左上角的框架中显示一个。代码贴在下面。

<link href="../css/main_text.css" rel="stylesheet" type="text/css">
<script type='text/javascript' src='jquery.js'></script>
<script type='text/javascript' src="fullcalendar/fullcalendar.js"> </script>
<script type='text/javascript' src='fullcalendar/gcal.js'></script>
<script type='text/javascript'>

$(document).ready(function() {
$('#calendar').fullCalendar({
    events: {
        url: 'http://www.google.com/calendar/feeds/info%4011floor.com/public/basic',
        className: 'gcal-event',           // an option!
        currentTimezone: 'America/New_York' // an option!
    }
  });
});

</script>

<link href="fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css">
4

0 回答 0