On Jan 16, 5:31 pm, "[email protected]" <[email protected]> wrote: > On Jan 16, 5:19 pm, "[email protected]" <[email protected]> > wrote: > > On Jan 16, 5:07 pm, "[email protected]" <[email protected]> > > wrote: > > > > On Jan 16, 5:00 pm, Jae Choi <[email protected]> wrote: > > > > > Hi Larry, > > > > > I'm not 100% sure what that was but I wanted to know how gMarkers > > > > work with sidebar so I can fix this issue. > > > > > The link is test6.favstay.com/map.php > > > > You need to look at your javascript errors, there is an obvious > > > javascript error on this line: > > > document.getElementById("side_bar").innerHTML = side_bar_html; > > > > There is no element with id "side_bar". > > > Your html in not > > valid:http://validator.w3.org/check?uri=http://test6.favstay.com/map.php&ch... > > > (it doesn't _have_ to be valid for the map to work, but invalid > > html can cause some problems) > > Why are you doing this? > <script type="text/javascript" src="http://maps.gstatic.com/intl/ > en_ALL/mapfiles/285c/maps2.api/main.js"></script>
I don't think there is anything wrong with your map code or your markers (with the exception of the issue with the lack of a "side_bar" element). If I comment out that line, strip out everything from your page except the map div and the map code, it seems to work. -- Larry > > > > > > > > > > > > > Thank you... > > > > > On Jan 17, 7:17 am, "[email protected]" <[email protected]> > > > > wrote: > > > > > > On Jan 16, 10:11 am, Jae Choi <[email protected]> wrote: > > > > > > > Hi all, > > > > > > > I have a sidebar which has a list of links and when clicked, it > > > > > > pops up a box on googlemaps on right. It used to work for me but > > > > > > now it's not working anymore. I cannot figure out how to link from > > > > > > left sidebar to the gmarkers on the map anymore! > > > > > > > Below is my code, any help would be extremely appreciated... > > > > > > 1. please follow the posting > > > > > guidelines:http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...... > > > > > > 2. What did you change? If it worked before and now it doesn't, > > > > > something you changed broke it. An example that was working before > > > > > you made the change would help. > > > > > > -- Larry -- 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 [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.
