Thank you for your reply. Perhaps you can see what I am doing by going to the site.
The checkboxes themselves are not in the Sidebar. They are a separate form and are javascript run. Adding a removing overlays. The checkboxes are not added or removed but part of the permanent page. The only thing I do (or want to do) is update the sidebar, which is just single line entries that bring up the infowindows themselves, and load or unload an overlay. I have almost everything figured out so far, but my addListener line I use add points that are on the map but out of the viewing area to the Sidebar.... I want to remove items from the sidebar to keep it up to date with what is being shown on the map. Thanks in advance. On Wed, Nov 11, 2009 at 7:17 AM, Pil (Trustworthy from Experience) < [email protected]> wrote: > Can you imagine that a user who unchecked a checkbox in the sidebar > wants to check it again - maybe he has forgotten to see something or > for any other reason? > > So Andrew already asked, how to you add the no more existent checkbox > again? > > Well, if the checkbox doesn't exist any more, the user has to reload > the whole page - if he wants to go back to see an old overlay again - > or maybe he decides to leave your page completely. > > So I'd think your purpose is not user friendly. > > > > On Nov 11, 3:53 pm, tanos_8888888888 <[email protected]> > wrote: > > 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]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=. > > > -- 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=.
