On Dec 30, 9:04 pm, "McDaniel, Donna" <[email protected]> wrote:
> Ok I have determined that my map does not like the fact that the
> contentplaceholder of the master page is inside a table cell. If I place the
> contentplaceholder outside the table then the map works fine. However I have
> to have my table, does anyone have any suggestions on how to fix this?
Make sure that initializeMap() is run only once the page is *entirely*
loaded and parsed. Currently it's run before the </form> tag is
encountered, and IE doesn't like that: the Javascript attempts to
alter things buried deep inside the form element.
Because you're using Dreamweaver, it's possible it's already set a
window.onload handler to do its own stuff, so instead of your line
initializeMap();
which runs that function at that point, add the function to the onload
handler:
window.onload=function(){window.onload;initializeMap}
It doesn't matter if there isn't already an onload handler defined;
and that line won't break if you add one later.
Unfortunately IE's debugging and development tools are, er, limited,
so I can't test that for you.
Andrew
--
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.