I'm using an Embedded Calendar, and the javascript API to create new
events. There doesn't seem to be a way to delete events from the
embedded calender, so I was trying to find a way to post HTML into the
description, or some sort of delete icon. The URL of that would be
something like javascript:deleteEvent('identifier') which would call
that method on my page.
I can't for the life of me figure out how to post HTML into the
calendar description, or an icon with something like this:
var icon = new com.google.gdata.data.calendar.WebContent();
icon.setTitle("Delete Event");
icon.setIcon("http://www.mydomain.com/images/delete.gif");
icon.setUrl("javascript:whatever()");
icon.setHeight("200");
icon.setWidth("200");
var calLink = new google.gdata.calendar.CalendarLink();
calLink.create(icon);
entry.setWebContentLink(calLink);
Any help would be appreciated. Main goal here is just to be able to
delete events from that embedable html iframe calendar.
Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---