Hello,
I'm using fullcalendar.
And i want to change my calendar, so the default month is June (the initial month for loading), I believe this is what I need: http://arshaw.com/fullcalendar/docs/current_date/month/
The problem is, I'm not very good at .js... and the explanation isn't very clear.
This is what i tried:
<script type='text/javascript'>
$(document).ready(function() {
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
$('#calendar').fullCalendar('gotoMonth', 7);
$('#calendar').fullCalendar({
editable: true,
events: [
{
imageAfterTime: $("<img src = 'images/flags/za.png' style='width:19px;height:13px'/>"),
imageAfterTitle: $("<img src = 'images/flags/mx.png' style='width:19px;height:13px'/>"),
title:' RSA-MEX ',
start: '2010-06-11T14:30:00',
allDay: false,
},
>>>rest of events...
You can see my calendar at: http://cudamine.com/icame/sitemundial/calendar.html
Can anyone help me out calling this month method?