Thank you for your reply, Sorry to start a new thread, it had seemed that I was not getting any replies after I reposted to my original one.
If I have checkboxes that load additional KML files and inlcude points on the map, and the user deselects the check box and I unload the overlay the points then disappear from the map. I want them also to disappear from the sidebar as they are no longer on the map and the link in the sidebar is dead anyway. When dealing with a large number of markers in a small area, it is helpful to have a KEY so to speak where you can turn markers on and off, and narrow the information you receive. I have viewed hundreds of samples and code, I would think this is not uncommon. I want to keep my sidebar current with what points are on the map. Can you point me to an example that DOES give every element in the sidebar an id and where code changes its style to display:none. I cannot find any. On Nov 11, 1:37 am, Andrew Leach <[email protected]> wrote: > On Nov 11, 5:20 am, tanos_8888888888 <[email protected]> > wrote: > > > > > I posted this with no reply, the only reply really did not read the > > post as it was not relevant to the what I asked. > > So why start a new thread? Why not just carry on with the original > one? Starting a new thread divorces the current discussion from the > previous one. > > > Is this a place I can get answers or not? Most posts seem answered so > > I am wondering? > > Yes: but > > (a) I think the problem is that people may not understand why you want > to remove entries from the sidebar. If you uncheck an entry and it > disappears, how do you add it back? > (b) it's an HTML/DHTML/CSS question, not a Maps API question. The > answer probably lies in giving each <p> element in the sidebar an id > in order that you can set its style to display:none. > > Andrew -- 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=.
