On Mar 2, 9:26 am, technobabbler4u <[email protected]> wrote:
> Hello all,
>
> I have a map that I used on another site that works. I copied the
> JavaScript and added it to a new
> site,http://www.snowbirdbaseball.com/directions.php.
> I used the new key from Google and it works fine. However, this time I
> would like to have openInfoWindowTabsHtml instead of
> openInfoWindowHtml. I have changed everything I could and the best I
> get is the red icon with the dot in the middle and error that tells me
> basically the javascript was missing a parameter or something. I had
> changed all openInfoWindowHtml to openInfoWindowTabHtml. I also added
> tab1, tab2 to function createMarker() and replaced
> marker.openInfoWindowHtml(html) with marker.openInfoWindowTabsHtml
> (tabs) and other stuff that broke the map.
>
> So, I have put everything back so it works and it has 3 links with
> different colors. I want the same layout, just want to add tabs. Can
> anyone tell me what I am missing? I bet I just missed one thing. The
> code that other people are using don't match what I have line for
> line. My script is at
http://www.snowbirdbaseball.com/scripts/gmaps.js.
>
> Thanks in advance for anyone's help.
If you give us a link to the map that _doesn't_ work, it would be
easier to tell you what you did wrong.
I get an error on your current page on these lines:
document.getElementById("sidebar1").innerHTML =
sidebar1_html;
document.getElementById("sidebar2").innerHTML =
sidebar2_html;
document.getElementById("sidebar3").innerHTML =
sidebar3_html;
Because there are no elements on your page with those Ids.
-- 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
-~----------~----~----~----~------~----~------~--~---