Got it!

Mike & Rossko,
It was the variable name. Once I changed that, I just had to add
marker.openInfoWindow to get them to open up on their own. Now it's
time to set the windows up with my text and directions link. Now if
only I could get the directions to show up where I want them on my
page....  The maps seem to be working fine within the table, but can I
get the cells below the maps to act as sidebars for displaying my
driving directions? Or should I keep it simple and just have open
another window? I'm flexible. Oh, and the table isn't in the <head>,
that was just garbage html that I hadn't gotten rid of yet, but thanks
for the catch.

Fellas, thanks so much for all your help, and if you have any thoughts
on my cell-as-a-sidebar idea, I'd appreciate any available direction.

On Jul 18, 4:27 pm, Rossko <[email protected]> wrote:
> > <table width="935" height="1075" border="0">
> >       <tr>
> >         <td width="467" height="410"><script src="http://
> > maps.google.com/maps?
> > file=api&v=1&key=ABQIAAAAgCNofnQyYJBK07n1VtBf9xTt1tW6zRC65NJAQPcgsPBJc0i9SR­RDGhoMhDE0k6Aovlb_-
> > nua9321JA" type="text/javascript"></script>
> >   </head>
>
> Whoah, you can't have a table inside the <head> ...
>
>
>
> > var map = new GMap(document.getElementById("crestline"));
> ...
> >         var map = new GMap(document.getElementById("redlands"));
>
> You should give your maps different javascript names, 'map1' 'map2' ,
> then you'd be able to do different things to them like opening
> infowindows.
>
> You only need to load the API script once, it will deal with many
> maps.
>
> Scripts acting inside tables generally doesn't work well with maps,
> see
>  http://www.easypagez.com/maps/ieworking.html
> for some good practice about where to put your script and how to make
> it run at an appropriate time.
--~--~---------~--~----~------------~-------~--~----~
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