I think I cannot edit, so I have to post a new one: pasting javascript:alert(tabberAutomatic()) in my browser when the infoWindow is maximized makes the tabs to appear. Can I do this automatically?
On Nov 29, 11:12 pm, sk <[email protected]> wrote: > I add the manualStartup:true option, following the code from this > example: > > http://www.barelyfitz.com/projects/tabber/example2.html > > When the maximize function is called, then I also call the function > tabberAutomatic() that is supposed to find all the div containers of > the document, but is not working. What I don't understand is why the > tabs are not being showed, even if they don't have the right content. > By reading the Advance section of the website, I also try to change > dinamically the tab but it also didn't work and I commented it. After > that, searching in old discussions, I find this code: > > setTimeout("tabberAutomatic(tabberOptions)",1); > > http://sktest.awardspace.info/ > > that, as you said, is supposed to start the tabs a little later but I > still can't see any change. Is there anything else I can try? > > On Nov 29, 10:18 pm, Mike Williams <[email protected]> wrote: > > > I've not experimented with that particular tab code. I notice from the > > documentation that by default (the way you are currently using it) it > > only processes divs that exist when it initializes, as most such code > > modules do. However it seems like this one does have the option to run > > dynamically. > > > Try reading the "Advanced" documentation and use the > > {manualStartup:true} option, then manually start tabber by calling > > tabberAutomatic() each time, after the info window has been maximised. > > With luck, that might cause it to find the new divs. If not, you might > > have to manually start it a little later, to ensure that the Maps API > > has finished rendering the new divs. > > > You can see that you might have MSIE problems by maximising your > > infowindow and then pasting javascript:alert(tabberAutomatic()) into > > the browser address bar. That works in Firefox, but not in MSIE8. > > > -- > > 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.
