Shop PCMemoryStore.com Today! MacSpeech Dictate 1.5

Saturday, March 1, 2008

Internet Explorer cannot open the Internet site, Operation aborted "Google Map API error"

·

Internet Explorer cannot open the Internet site, Operation aborted and the Google Local Map API error:

Firefox has made it easy for me to nearly forget Internet Explorer exists. However, once in a while I will check my site's functioning ability in IE. Today, I discovered that the Google Map API I have been using was returning the following error while loading in IE. (see here)
"Internet Explorer cannot open the Internet site. Operation Aborted"

Simple Fix

If you are getting this error, try this simple fix, it may help:
Keep this piece of code somewhere in the body of your document (where you want the map to appear):

<div id="map" style="width: 400px; height: 400px"></div>

Move all of the remaining code that google supplied you with when generating your API key (minus the div from above) to the very bottom of your document, outside of the body tag.

Advanced Fix
Suggested by Members of Google Groups

Enclose your JavaScript code into a function and then execute it through a body onload event.

Example:

Keep the script in your head

<script type="text/javascript">

//<![CDATA[
function ShowMeTheMap()
{
var map = new GMap(document.getElementById("map"));
map.centerAndZoom(new GPoint(-83.7, 42.2), 3);
}
//]]>
</script>

Change your body tag to this: <body onload="ShowMeTheMap();">


 


Developer Resources
We see a lot of different certifications being offered out there these days. They can all help you land good jobs in big companies like Microsoft, Java, startlogic, etc. With the help of sun certification you land a good programming job any of the top companies out there. And 642-825 can help you with your opportunities at web hosting companies that are looking to provide not only cheap hosting but also quality and secure hosting services. Microsoft's 70-431 course is a great stepping stone for being hired into any good web development or software development company.

0 comments:

Post a Comment

Related Articles


Related Article Widget by Hoctro

About Me


嗨,我是花,居住在印度兴奋的Windows,Linux中国的外籍人士和所有高科技的东西

Hi, I am Hua, a chinese expat residing in India excited about windows, linux and all things tech

Receive updates for free

Enter your email address:

Delivered by FeedBurner

Mobile Version

Bookmark

Bookmark and Share

Blog Archive

matchmaker.com gold membership valentine's