It works on the left marker, because that's the one that your "marker" 
variable refers to.

What happens on the right marker is that when you mouseover the marker, 
you call marker.openInfoWindowHtml on the "marker" variable, which is 
the left marker. When the infowindow appears, an invisible part of the 
infowindow graphics is over the top of the right marker, so the mouse is 
now considered to be over the infowindow, and you get a mouseout event 
on the right marker and call marker.closeInfoWindow().

You need to obtain function closure on your "marker" variable so that 
the one that you mouseover becomes the same one that you call 
.openInfoWindow() on.


By the way. Did you know that it takes 113.7 seconds to open your page 
with MSIE7? All the Maps stuff happens in the last 3 seconds, because 
fetching resources from Google is about 100 times faster than it is from 
201.0.162.117, and the Maps code is tiny compared to those huge js files 
that you pull in from there.

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
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