Larry,
thanks for the link to jslint.  I did not know about that.
I'm sure it will be a valuable tool.

Will take a look at the logic.  I maybe just going about this the
wrong way.

Buster


On Jul 2, 9:53 am, "[email protected]" <[email protected]>
wrote:
> On Jul 2, 8:01 am, Buster <[email protected]> wrote:
>
> > Thanks Larry.
> > Corrected the problems you noted.  Still no joy.
> > JavaScript is W3C validated.
>
> W3C doesn't validate javascript, they validate html.
>
> If you want to validate your javascript, try running it 
> throughhttp://jslint.com.
> (Warning: JSLint will hurt your feelings.)
>
> You may have changed the issues I noted, but you didn't correct them.
> You are no longer calling the makeSidebar function at all.
> All your divs with id="side_bar" or "sidebar" are commented out, so
> there wouldn't be any place to put the dynamic sidebar if you ran it.
>
>   -- Larry
>
>
>
> > 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- Hide quoted text -
>
> > - Show quoted text -
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to