Well, I am still in the phase of testing the page on local server. So I can only provide pieces of code and some snapshot.. Sorry about that Any suggestions of possible solution? Thanks
On Feb 18, 4:20 pm, "[email protected]" <[email protected]> wrote: > On Feb 18, 12:04 pm, Achilles <[email protected]> wrote: > > > > > The tabbed infomation window I created in a sub function looked weird > > by second click on the marker. > > please check it here:http://www.fbmaps.com/picture/ > > > the code is nothing new: I just stole it from Mike.. > > > function createTabbedMarker(point) { > > var marker = new GMarker(point); > > > GEvent.addListener(marker, "click", function() { > > var tabs=[]; > > var labels =['tab1','tab2']; > > var htmls=['asdfasdf','sadfsdafsadf']; > > if (htmls.length > 2) { > > htmls[0] = '<div style="width:'+htmls.length*88+'px">' + > > htmls[0] + '<\/div>'; > > } > > tabs.push(new GInfoWindowTab(labels[0],htmls[0])); > > tabs.push(new GInfoWindowTab(labels[1],htmls[1])); > > marker.openInfoWindowTabsHtml(tabs); > > }); > > return marker; > > > } > > > Anyone has any genius ideas? > > Post a link and not a picture? > > -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
