On Oct 6, 10:28 am, Corey Mac <[EMAIL PROTECTED]> wrote:
> The map I've been using worked for a while in all browsers, but
> recently appears offset incorrectly in IE (it still appears and
> functions correctly in FF).  Is there anyone here who could take a
> look at the code/page and help me figure out where I've mis-coded this
> thing?
>
> http://www.cuchapelhill.com/contact.htm
>
> The map is at the top of the page with a directions box.  If you
> connect via FF, you can see how it is supposed to work.
>
> Thanks in advance for any advice/ideas!!
The first error I get on that page is: 'request' is undefined.
(request is undefined)
The second error I get on that page is: Object expected'  (there is no
initialize function which is used by the onload event)

You have your script inline in the DOM.  IE tends not to like that...
the script is running before the DOM is completely defined and the map
div size seems to not be available when it runs.
Either:
1. use an onload event to run a function that is defined in the head
of the document
or
2. put the script that generates the map at the end of the document
(but not the "map" div) just before the </body> tag.

In either case make sure your html is valid (all elements are properly
closed).

 -- Larry

--~--~---------~--~----~------------~-------~--~----~
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