I know with Google Maps you can add an event listener inside the infowindow. Would that still be possible with this plugin? I want to have a link inside the infowindow (already accomplished) that will open a div outside the map (using jQuery .slideDown). My script works for links outside the map, but not for ones in the infowindows. Any idea?
Hi, it’s not possible because the infowindow handle isn’t exposed in the current version. If you like, drop me a line and I’ll add the function to the latest development version – if you don’t mind a beta you’ll be able to get that handle.
With the handle you can use google’s “domready” event to detect when the window is open.
By the way, you could probably also just embed an ‘onclick’ event in the link. It’s a little uglier but it would let you avoid getting the handle, etc.