khizar aziz
unread,Jan 24, 2012, 3:28:10 AM1/24/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jQuery Frontier Calendar
Hi,
i was just trying to add agenda items to my calendar i.e adding them
on as the calendar loads using the example given , just changing the
dates but the agenda items are not showing. The calendar is rendering
fine but there are no agenda items on it. I am using the following
code
$(document).ready(function () {
var jfcalplugin = $("#mycal").jFrontierCal({
date: new Date(),
dayClickCallback: myDayClickHandler,
agendaClickCallback: myAgendaClickHandler,
agendaDropCallback: myAgendaDropHandler,
dragAndDropEnabled: false
}).data("plugin");
try {
jfcalplugin.addAgendaItem(
"#mycal",
"Pakistan v England, Second Test at Dubai",
new Date(2012,01,24,9,0,0,0),
new Date(2012,01,28,17,59,59,999),
false,
{
fname: "Indiana",
lname: "Jones",
artifact: "Holy Grail"
}
);
} catch (e) {
alert("Added not agenda",e.message);
}
jfcalplugin.setAspectRatio("#mycal",0.25);
jfcalplugin.reRenderAgendaItems("#mycal");
});
As far as i know, there should be an agenda showing from 24th of this
month, i.e today to 28th, but it isn't. can someone please help me, i
am stuck here.
Regards,
khizar