Thanks GEvent.trigger(gmarkers[0], "click"); at the end, just before </ script> works perfect, page opens on load.
Thankyou yor your help guys ;) On 16 ene, 22:48, "[email protected]" <[email protected]> wrote: > On Jan 16, 1:35 pm, Ralph Ames <[email protected]> wrote: > > > >I'm desperate for some help, I can't get the info window to open on > > >page load, can anyone give me a hand? > > >Here is the map:http://byrnecars.com/sandbox/findus.php > > > Try this > > If executed after the marker processing loop exits in the callback > function the below code will open the last marker created. > > > GEvent.trigger(marker,"click"); > > This will open the first marker if you have more than one: > GEvent.trigger(gmarkers[0], "click"); > > and if you type this into the address bar, you can see it work: > javascript:GEvent.trigger(gmarkers[0], "click"); > > -- 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 -~----------~----~----~----~------~----~------~--~---
