Thanks Larry. Corrected the problems you noted. Still no joy. JavaScript is W3C validated.
Buster On Jul 1, 11:21 pm, "[email protected]" <[email protected]> wrote: > On Jul 1, 10:17 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Jul 1, 9:45 pm, Buster <[email protected]> wrote: > > > > Hello, > > > Map is atwww.gmapsapi.net/sidebar1 > > > > On map load, I want to hide all the markers except for the NLOS > > > category. > > > > The checkboxes in the sidebar are set correctly when the map is loaded > > > The markers toggle correctly with the checkboxes > > > > gmarkers.length; is correct prior to calling the function makeSidebar. > > > After the function is called, gmarkers.length = 0 > > > In IE6, > > javascript:GLog.write(gmarkers.length) > > tells me gmarkers.length is 25 > > > > Appreciate any assistance. > > > Have you tried the javascript console? > > > Even in IE6 I get javascript errors when I click on the check boxes: > > Error: 'document.getElementById(...)' is null or not an object. > > > on this line (203): > > document.getElementById("sidebar").innerHTML = html; > > > That is because both of the div's with id="sidebar" are currently > > commented out: > > Oops. There is only one div with id="sidebar" that is commented out. > You do have a div with id="side_bar" but that is not what the code is > looking for. > > -- Larry > > > > > <!-- > > > <div id="side_bar" style="width: 185px; color:#FFFFCC; > > background-color:#FFFFCC; font-size:smaller; "></div> > > <div id="sidebar" style="color:#000000; border: 1px solid; > > font-size:10px; width:180px; height: 245px; overflow: auto; background- > > color:#FFFFCC"></div> > > --> > > > -- Larry > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
