Larry,

Thanks for taking a look at my script. The errors that you get are
because I haven't finished with the html layout of the page. If it
helps, check out www.ccbuzz.com/buzzmap.php, which is one of our sites
and the script was borrowed from there.

I don't know what I am doing, but I went ahead a made the changes that
I thought should be made. openInfoWindowHtml was changed to
openInfoWindowTabsHtml, and function createMarker () I added tab1,
tab2 in the (). Unchanged script is at 
www.snowbirdbaseball.com/scripts/gmaps.old.js
and the one that I modified is at www.snowbirdbaseball.com/scripts/gmaps.js

Thanks again.

On Mar 2, 1:23 pm, "[email protected]" <[email protected]>
wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to