> As you can see I've removed some events but I still have a problem on > the line 54 > GEvent.addListener(map,"infowindowclose", function() { > document.getElementById > (lastlinkid).style.background="#ffffff"; > }); > because of the lastlinkid ; I don't see to get it right.
Your function myclick() called from the sidebar is still not setting 'lastlinkid' for later use. For some reason you've removed the code that calculates 'linkid' from 'i', so you'd have nothing to save in 'lastlinkid' yet anyway. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to google-maps-...@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.