On Dec 4, 9:34 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Can anyone point me in the right direction to create an event or call
> a function when the tab is changed?
>

Create a 'click' event listener and read map.getInfoWindow
().selectedTab() value.

http://esa.ilmari.googlepages.com/tabbedevents.htm

The third undocumented parameter of GInfoWindowTab() constructor is
also working now. It is mentioned in Mike's example
http://econym.org.uk/gmap/basic10.htm

You can give a reference to a function as the third parameter for each
tab. The function is called every time the tab is clicked. The
function eats the onclick event so that the tab doesn't change
anymore. You have to put map.getInfoWindow().selectTab(); into the
function.

Two parameters are returned. A mouse event object and reference to the
tab label <div> element.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps 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-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to