Hi all My apologies for re-posting, but my original post from 3 days ago received no replies, and my 3 days of searches on my own for an answer has led me essentially nowhere.
I have a functioning google map on this page, in which the markers are each populated with data based on a sites array [lines 51-74] http://footprint.stanford.edu/compare.html I would like to add tabs to these marker infowindows, so that "tab 2" could include photos. I have searched for hours trying to find a solution, and I see tab code of two types: 1) the data in each infowindow is within its own <div> tag, with the two (or more) tabs in nested <div>s therein. e.g. http://www.wolfpil.de/v3/tabbed-infowindow.html With the amount of data I have (and will have in the future) in the sites array, this would be an unwieldy html file if I used this method. 2) tab code in the header script (as I have), but still not using arrays e.g. http://software.krimnet.com/gmap/create-tabbed-gmap-marker.htm Again, seems excessive use of code, would involve a complete rewrite of my code, and it is not clear to me how I can include other aspects included in my sites array in this solution (e.g. z index, ro title, etc) So I am still left with my original question: can I maintain the sites array that I have it, but include code for being able to add tabs? Ideally I would just add an argument in the array (e.g. "sites[5]" in line 89) that would specify the html contents of tab 2, whereas "sites[4]" would specify the contents of tab1 (and of course another argument for the title of tab 2). Thanks in advance for any clues, links to similar solutions that I have missed, code to try, etc. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
