You are right, I forgot to include the third party code. The files I was talking about are: http://www.barelyfitz.com/projects/tabber/tabber.js http://www.barelyfitz.com/projects/tabber/example.css http://www.barelyfitz.com/projects/tabber/example-print.css
Once I add them like this: <script type="text/javascript" src="tabber.js"></script> <link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen"> <link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print"> http://sktest.awardspace.info/ there is nothing wrong with my code that prevent tabs to work fine, right? Because I tried but they still don't work, so maybe is because they just don't work inside infoWindows. I want to make sure of that and then I will take a look at tabbedmaxcontent.js. Thanks for the help On Nov 29, 8:49 pm, Mike Williams <[email protected]> wrote: > 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 Williamshttp://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.
