• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • Last Modified:

How do I make an embedded Google Calendar trigger an event?

   I've got a Google calendar embedded into my webpage via an iframe.  I need to call my own javascript function in the parent window when a user clicks on an event within the iFrame.

    Since browsers block any and all access to the DOM of an iframe that isn't on the same domain as the parent frame or window for security reasons,  I was hoping to be able to use the Calender API, perhaps modify the content of the event itself, or any other method that might be available to call a function in the iframe's parent window.

    I've done quite a bit of research on the Google Calendar API which doesn't really address using embedded calendars.  Also Google has placed restrictions on what can be contained in the content of the events.

    There's got to be a way.  I just want to call a function when the user clicks on an event or perhaps does something within the event pop-up-bubble.

    What are your thoughts on this?
0
waf771
Asked:
waf771
1 Solution
 
velcrobotsCommented:
I struggled for many weeks with this identical issue.  I do not believe there is a way to do it.
0
 
waf771Author Commented:
Very well then,  I suppose that my time would be better spent building my own calendar by hand, and just using the Google Calendar API to store and schedule the events.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now