Hi Martin, That makes sense, how would I change it so I can test if that is the solution? Should I move the code at the bottom of the page to an external JS file and then link to it in the Head before or after the Google maps code?
Thank you for your help! Shane. On Jul 26, 12:28 pm, Martin <[email protected]> wrote: > I get the same errors with IE8. > > Is the browser trying to execute your inline javascript before all > external scripts have completed loading? > > If the inline javascript executes before the external API code has > loaded then the API objects you're trying to use will not (yet) be > defined hence the error? > > Martin. > > On 26 July, 12:17, ShaneMcC <[email protected]> wrote: > > > Hi Guys, > > Im working on a google map based on Mikes Marker Categories Tutorial > > herehttp://econym.org.uk/gmap/categories.htm > > > It works fine when on Firefox, but has errors on IE 6&7. > > I dont really care about IE6, but IE7 (7.05730.13) and later I do care > > about. > > > Would someone have a look through the code an maybe offer a suggestion > > for how to fix it? The link ishttp://travelpoint.ie/index.php/tp/ie_testing/ > > Im not very good at javascript, I'm lucky I've come this far! > > > The errors for IE 7 are : > > > Line: 71 > > Char: 1 > > Error: 'GOverlay' is undefined > > Code: 0 > > URL:http://www.travelpoint.ie/index.php/tp/ie_testing > > > Line: 27 > > Char: 1 > > Error: 'GControl' is undefined > > Code: 0 > > URL:http://www.travelpoint.ie/index.php/tp/ie_testing > > > Line: 81 > > Char: 1 > > Error: 'GIcon' is undefined > > Code: 0 > > URL:http://www.travelpoint.ie/index.php/tp/ie_testing > > > Line: 226 > > Char: 5 > > Error: Object expected > > Code: 0 > > URL:http://www.travelpoint.ie/index.php/tp/ie_testing > > > All and any help will be very very appreciated! > > Thank you! > > Shane > > -- 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.
