views:

205

answers:

0

Hi - I'm very new to JQuery etc. I'm trying to set up fullCalendar to display my Google calendar events. I followed the instructions from Adam Shaw's site but although the calendar appears on the site, the events don't - it's just blank. I'm sure it's just me marking the code up wrong:

$(document).ready(function() {

// page is now ready, initialize the calendar...

$('#calendar').fullCalendar({
    // put your options and callbacks here
})

});

$(document).ready(function() {

// page is now ready, initialize the calendar...

$('#calendar').fullCalendar({
    events: $.fullCalendar.gcalFeed(
        "http://www.google.com/calendar/feeds/[email protected]/public/basic",
         { className: 'gcal-events' }


    )
});

});

;

I'm sure it's real easy for someone to spot my mistake(s). Please can someone help me out? Thanks Jon