So the net result is there is no function to do what I want to do with a string of HTML code?
On Jun 8, 5:27 pm, Andrew Leach <[email protected]> wrote: > On Jun 8, 3:12 pm, racinnation <[email protected]> wrote: > > > Oops... Operator error. You should see the tabbed info now in the > > source. > > The > documentationhttp://code.google.com/apis/maps/documentation/reference.html#GInfoWi... > says GInfoWindowTab takes a string as a label (the tab "name") and > either a DOM node (for openInfoWindowTabs) or a string (for > openInfoWindowTabsHtml) containing the content. > > So you need something like > new GInfoWindowTab(name,html) > > You can't do > new GInfoWindowTab(name,html,street,city,state,zip,url) > unless "html" is a DOM node: yours isn't, it's a string of HTML code. > Even then, only the first two parameters are used. > > So: each tab needs a label and a string containing the content. And > you need to use marker.openInfoWindowTabsHtml(). > > Does that help? > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
