I can't see anything on your page that looks like at attempt to create tabs inside the maxContent. All you do is create two divs called tab1 and tab2 and append them both to the maxContentDiv. So all that happens is that both inner divs get displayed.
I don't know whether you expect the CSS classes "tabber" and "tabbertab" to do anything, but you don't currently define CSS for those classes. Perhaps you were thinking of using some third party tab Javascript that looks for the "tabber" and "tabbertab" classes and does very clever things with them. If so, you seem to have forgotten to include the code that does that. In general, such third party tab code doesn't tend to work inside infowindows. All the ones that I've tried only scan the DOM at startup, and can't be persuaded to work in infowindows that get created dynamically later. For my tabbed EWindows, I ended up writing my own tabbing code. It wasn't easy, and didn't end up looking very pretty. Unless you feel like writing your own tabbing system, I suggest that you grab a copy of tabbedmaxcontent.js and add an extra function similar to .openMaxContentTabs() that accepts an array of GInfoWindowTabs as its second argument, and calls this.openInfoWindowTabs() or this.openInfoWindowTabsHtml() instead of this.openInfoWindow(). -- Mike Williams http://econym.org.uk/gmap -- 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.
