On Dec 15, 5:51 am, spaxton <[email protected]>
wrote:
> Hello.  I have read many posts regarding this error but no solutions
> have helped.  I am using Internet Explorer 6.0.28.  I have this code:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>     <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>
>     <title>Google Maps JavaScript API Example</title>
>     <script src="http://maps.google.com/maps?
> file=api&amp;v=2&amp;key=ABQIAAAA_vz4Qgnup2pHnLQPZqN7thSro3gqkmHTtH-
> dtlli8-QlZiBPjRT19qPT4_yLrkA27qw5J-JbIBJpPA"
>       type="text/javascript"></script>
>     <script type="text/javascript">
>     //<![CDATA[
>     function load() {
>       if (GBrowserIsCompatible()) {
>         var map = new GMap2(document.getElementById("map"));
>         map.setCenter(new GLatLng(37.4419, -122.1419), 13);
>                 }
>     }
>     //]]>
>     </script>
>   </head>
>   <body onload="load()" onunload="GUnload()">
>     <div id="map" style="width: 500px; height: 300px"></div>
>   </body>
> </html>
>
> The page address ishttp://www.paxtontechnologies.com/EquityPlus/test.html.
>
> I get the Object Expected Error when the code hits the if
> (GBrowser..... line in the javascript code.
>
> The page works fine in FireFox.
>
> I have tried listing maps.google.com as a trusted site, turning off my
> firewall with no benefit.
>
> Clear cache and browser history does not work.  If I load
> maps.google.com first and then load my page then it works fine.
>
> Does anyone have a resolution for this?

That page works for me in IE 6.0.2900.2180.

  -- Larry

>
> Thank you for your help.
>
> Scott
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to