Thanks for the URL. I had already been there, but his script and mine didn't look close enough. I did manage to get tabs using a combination of his script and mine, however my colored markers don't work with the tabbed objects. I went line by line to see where it breaks and its the calling of the tabs and the color markers are not working well together. I have abandoned the use of tabs so I can keep the colored markers which are key to my map.
Maybe some day some one will be able to tell me how to have both tabs and colored markers. Cheers Alex Molitor TechnoBabble On Mar 5, 7:59 pm, Rossko <[email protected]> wrote: > > However, I did forget to give out the URL this time, so here it > > is,www.snowbirdbaseball.com/directions.php. I should have read more > > closely. > > I get a straightforward javascript error - > document.getElementById("sidebar1") has no > propertieshttp://www.snowbirdbaseball.com/scripts/gmaps.js > Line 108 > > There's no <div> or anything with an id of sidebar1. > > ---- > > Your createMarker function expects params like (point, name, html, > tab1, tab2, type). > Your hardcoded calls to the function supply params (point, name, html, > type) which probably ruins what you had planned for tabs. And causes > the 'unknown type' prompts currently appearing on load. > > Your createMarker function sets up a listener including > marker.openInfoWindowTabsHtml(html); > but your html variable is just html. > If you want tabs you need to give it an array of tab objects, see- > http://econym.org.uk/gmap/basic10.htm > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
