Why is my map not loading in internet explorer?

262 views
Skip to first unread message

Niklas Rosencrantz

unread,
Apr 17, 2012, 10:20:34 AM4/17/12
to google-map...@googlegroups.com
My map displays fine with firefox but not with internet explorer. URL www.koolbusiness.com/ai
I tried debug with firebug but there was no error message. Do you have any idea what to do?
Thanks for any answer or comment.
/Nick Rosencrantz

Andrew Leach

unread,
Apr 17, 2012, 11:07:42 AM4/17/12
to google-map...@googlegroups.com
On 17 April 2012 15:20, Niklas Rosencrantz <nikl...@gmail.com> wrote:
> My map displays fine with firefox but not with internet explorer. URL
> www.koolbusiness.com/ai
> I tried debug with firebug but there was no error message. Do you have any
> idea what to do?

If you are not running IE, function initialize() gets called from the
<body> tag. How does it get called if you are running IE? I couldn't
find it.

<!--[if IE 6 ]> <body class=" ie ie6 not-ie7 not-ie8 not-ie9 "> <![endif]-->
<!--[if IE 7 ]> <body class=" ie ie7 not-ie6 not-ie8 not-ie9 "> <![endif]-->
<!--[if IE 8 ]> <body class=" ie ie8 not-ie6 not-ie7 not-ie9 "> <![endif]-->
<!--[if IE 9 ]> <body class=" ie ie9 not-ie6 not-ie7 not-ie8 "> <![endif]-->

<!--[if !IE]>--><body class=" not-ie6 not-ie7 not-ie8 not-ie9 not-ie"
onload="initialize()"><!--<![endif]-->

Niklas Rosencrantz

unread,
Apr 17, 2012, 12:08:11 PM4/17/12
to google-map...@googlegroups.com, andrew....@gmail.com
Great, then I can clean the code to just <body onload="initialize()"> since those code blocks were leftovers from old version of the page. I've changed the page and it should now load in IE.
Thanks a lot! /Nick
Reply all
Reply to author
Forward
0 new messages