On Jan 2, 5:18 pm, aj <[email protected]> wrote: > Hi Larry, > > Thanks very much! > > But it is same as before( just 1 body), I dont know why, and how to clear > the checkbox? could you please write more clearer for me, I'm not good on > Javascript language. > link:http://www.easylocation.ca/L1.html
The link you posted previously is: http://www.easylocation.ca/L2.html That has three <body> sections. http://www.easylocation.ca/L1.html does not. It is also missing: document.getElementById(category+"box").checked = false; from the L2 version, which would clear the check boxes. -- Larry > Thanks again! > > Alex > > 2009/1/2 [email protected] <[email protected]> > > > > > On Jan 2, 10:41 am, "[email protected]" <[email protected]> > > wrote: > > > aj wrote: > > > > Hi Mike, > > > > > Happy new year! > > > > > I have questions now. > > > > > 1, Why I can't show maps in IE, but in Firefox is okay. > > > > I see a map in IE7. The javascript error that IE reports is: > > > Line: 353 > > > Error: 'document.getElementById(...)' is null or not an object > > > > Because there is no element in the DOM with id "cibcbox". > > > After that error, the map is not longer displayed correctly. > > > The real problem is that your html is invalid. You have 3 <body> > > sections, only one is allowed. > > >http://validator.w3.org/check?uri=http%3A%2F%2Fwww.easylocation.ca%2F...<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.easylocation.ca%2F...> > > > -- Larry > > > > BTW, the firefox error consol reports the same error: > > > Error: document.getElementById(category + "box") is null > > > Source File:http://www.easylocation.ca/L2.html > > > Line: 342 > > > > -- Larry > > > > > 2, When I run my page, why some marks were showed on map, I had hide it > > > > initially, and can't hide all marks after I check the Hide all, how > > should I > > > > do it? > > > > Probably the same root cause. > > > > -- Larry > > > > > Thanks very much! > > > > > link:http://www.easylocation.ca/L2.html > > > > > Alex > > > > > 2008/12/31 aj <[email protected]> > > > > > > Hi Mike, > > > > > > Now everything is okay, I can see the line after I check the > > checkbox. I > > > > > did something wrong. > > > > > > Thanks again! > > > > > > Alex > > > > > > 2008/12/27 Mike Williams <[email protected]> > > > > > >> Wasn't it aj who wrote: > > > > >> >Hi Mike, > > > > > >> >Thanks very much for your help, I have been learning your examples > > for > > > > >> >long time. > > > > > >> >For this case, I changed the every thing according to your > > suggestion, > > > > >> >but the line disappeared. I dont know why, could you please help me > > > > >> >take a look what happend? > > > > > >> >link:http://www.easylocation.ca/example4_1.html > > > > >> >Thanks very much > > > > > >> Sorry, "gpolyline[parseInt(n) - 1]" should obviously be > > > > >> "gpolylines[parseInt(n) - 1]" > > > > > >> -- > > > > >>http://econym.org.uk/gmap > > > > >> The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
