I rectify, Chrome: Works fine

On 17 ene, 21:42, Olidenia <[email protected]> wrote:
> OK this is a deffinitive fix to the problem of opening the marker info
> windows on page load
>
> This script will fire after the page has finished loading.
>
> Tested on:
> IE7: Works fine
> FF: Works fine
> Seamonkey: Works fine
> Chrome: Desn't work, but anyway it's not the end of the world.
>
> Script:
>
> <script type="text/javascript">
> function LoadTrigger()
> {
> GEvent.trigger(gmarkers[0], "click");}
>
> window.onload = LoadTrigger;
> </script>
> </body>
>
> On 17 ene, 16:44, Olidenia <[email protected]> wrote:
>
>
>
> > 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- Ocultar texto de la cita -
>
> > - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
--~--~---------~--~----~------------~-------~--~----~
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