Worked wonders! Thanks!!!

Updated on: http://testing.ptarena.net/map-test/map2.html


One more thing, my last request:

I would like to update "map2" so i can have those gray backgrounds (on
Text links) like i have on the first map:

Map1: http://testing.ptarena.net/map-test/

Map2: http://testing.ptarena.net/map-test/map2.html



I know this is the line that does it:

   document.getElementById(linkid).style.background="#EEEEEE"; //color
of line background

But no matter where i put it (on map2), i cant make it work... Can you
help?

Regards.



On Feb 20, 11:22 pm, xelawho <xela...@gmail.com> wrote:
> > I've tried the same piece of code you provided before (even tried to
> > adapt it) but no success :(
>
> you can move that code to your myclick function and it should work:
>
> function myclick(i) {
>         for (var g = 0; g < gmarkers.length; g++) {
>                    gmarkers[g].hide();
>          }
>                         gmarkers[i].openInfoWindowHtml(htmls[i]);
>                         gmarkers[i].show(); //show marker on click
>
>       }

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to