Thanks a lot for your help! Now the map loads on most browsers! But there's still a problem with the latest IE8.... Here is the link: http://www.skatespot.se/beta2/
Try to click on a link on the right sidebar... the marker centers and info window pops up, but when you click on another link, the info windows gets broken and ugly... Why does that happen? On 27 Feb, 23:39, "Andrew Leach (Maps API Guru)" <[email protected]> wrote: > On Feb 27, 9:46 pm, Shifty <[email protected]> wrote: > > > > > I have fixed the > > validation:http://validator.w3.org/check?uri=http%3A%2F%2Fwww.oteckskateboards.s... > > Nearly, anyway; but what's left isn't critical to getting the map to > load. > > > Is there a problem with the arrays that are handled different between > > FF and IE? > > There is a difference in arrays. You can't have a comma at the end of > a list, because IE finds there's nothing after it. Firefox doesn't > mind. You end this list with a comma: > > var markerGroups = { "Kollektivtrafik": [], "Stad": [], "Pizzeria": > [], "McDonalds": [], "Burger King": [], "Max": [], }; > > What is really surprising is that IE doesn't flag this as an error, it > just stops working. If you defined an array like that (not an object) > IE would produce an error about something being null. I've never come > across the behaviour with objects. You learn something new every day. > > 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=en -~----------~----~----~----~------~----~------~--~---
