Solved

Google calendar API on click event

Posted on 2010-08-23
5
426 Views
Last Modified: 2014-11-12
We are embedding a Google calendar into our website and can write events to the calendar fine. What we cant seem to figure out is how to call an on-click when one of the calendar events are selected. It comes up with Google's standard bubble. We need to be able to call our own bubble etc when one of the events are selected so we can manage the event and write it back to the Google calendar. So does anyone know how to read when an on-click happens on the Google calendar.
0
Comment
Question by:waf771
  • 3
5 Comments
 
LVL 4

Expert Comment

by:Bordeaux0113
ID: 33524055
Can you import events in the form of .csv files?
0
 

Author Comment

by:waf771
ID: 33525155
Sure, but I cannot add auxiliary data that way.  What I am looking for slight modification of the DOM of the embedded calendar to call my own function when an event is clicked.
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 33552729
Purely a blue-sky answer, but...

Have you asked Google about this?  It seems like it might be of interest to other developers, too.  Perhaps they have an "exit" or some similar thing that would let you get the onClick information.  
0
 

Author Comment

by:waf771
ID: 33579496
   Ok, what I have here is a google calendar embedded into my webpage via an 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 hope this clarifies my problem.  Maybe its not really the onclick event specifically, but there's got to be a way to somehow call my own function either by clicking the event, or perhaps some other user action after it has been clicked.

   What are your thoughts on this?
0
 

Author Comment

by:waf771
ID: 33650643
@Ray_Paseur  Can you tell me how one would go about asking Google?  I've posted in their forums etcetera, but do you know of any way to actually "call them up" so to speak?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
This Micro Tutorial will introduce a Google tool, which is a great way to learn more about dimensions in metrics in Google Analytics, even if you use the interface or the API.
This Micro Tutorial demonstrates in Google Analytics how to create a custom report that shows you traffic over time using the month of year dimensions. There are also instructions on how to fix Google's odd month of year formatting, which Microsoft …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question