Thanks a friend figured it out for me earlier. I didn't include the
map because it wasn't online yet.

This is the code he gave me to place at the end and it works:

marker.openInfoWindowHtml('<div style="width:240px"><font
face="arial"><font size="2"><b><font color="red">Cadman North Bend</
font></b><br /><i>Aggregate Quarry Location</i><br />47320 SE Grouse
Ridge Access Road<br />North Bend, WA 98045<br />T: 425.888.5001<br /
>F: 425.888.5002<br /><a href="#">Get Directions</a></font></font><\/
div>');



On Sep 13, 1:05 pm, "[email protected]" <[email protected]>
wrote:
> On Sep 13, 10:58 am, Vladimir <[email protected]> wrote:
>
> > Let me start by saying I don't know much about Javascript, I suspect
> > the answer is easy.
>
> > I am making a map for my employer's website and unfortunately have to
> > use their web-based software to do so. This poses some navigation
> > limits that force me to do it this way.
>
> > I would like to be able to set one of the info windows to default
> > open. By doing this I can use the inherent navigation of the webpage
> > and list all our locations on the left, and each location link will
> > bring you to a customized map (will be centered on that location AND
> > have the info window already open). Is there a simple line of code I
> > can enter that will make the info window open automatically?
>
> Probably.  But it will depend on how you coded your map.
> GEvent.trigger(gmarkers[0], "click");
> works on most of mine...
>
>   -- Larry
>
> (if you provide a link to your map, as suggested in the posting
> guidelines, we might be able to provide the "simple line of code" that
> works for your map)
>
>
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
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