Chris Matthias

A blog about web design and
my life stories. For the most part.


Google Maps and Internet Explorer

October 05, 2006

While working on the Menu Explorer website, I came across an error when using our Google Maps iteration called Cartographer.

Every time it would load in IE, I would get an error message saying: “Internet Explorer cannot open the Internet site, Operation aborted”. Damn IE. So, of course, the first thing I did was search Google for this error involving Google Maps. I came across an interesting blog post by Ryan Grant explaining a quick fix. I tried a few of his methods but none worked because we were calling the script from a rails view and the javascript for the Google Map is in the head of our layout so we couldn’t place the javascript after the BODY closing tag.

A comment on his blog post helped me find the right solution to keep the javascripts in the HEAD tag and call it with the “setTimeout(showMap());” in the onload method in the body tag. Worked great. Thanks Ryan and friends!

UPDATE: It seems that I was incorrect and I am still working to resolve this problem. I think that we need to use the cartographer helper in rails. I noticed that we weren’t using the helper and were just hardcoding the call to the jscript in the html view. I will be working on this all next week. I’ll let you know what happens.

Bookmark this post: · Del.icio.us · YahooMyWeb · Spurl · Furl · Incoming links


One Response to “Google Maps and Internet Explorer”

Comments

  1. Michael Leung Oct 05 2006 / 4pm

    Well done bro.

Leave a Reply