Re: Map not displayed in Firefox
On Aug 5, 10:22 am, Raymend <dyngeome...@gmail.com> wrote:
> Add brackets at the end of the code, then it should work in both IE
> and firefox like:
> <script>
> document.body.onload = initialize();
> document.body.onunload = GUnload();
That syntax is incorrect, it executes the function and assigns the
results of that execution to the body onload (an onunload) event(s),
which is not what is required.
The:
document.body.onload = initialize;
document.body.onunload = GUnload;
should work, unless something else in his code is overwriting the body
onload/onunload events. In which case he will have to write code to
chain the functions.
-- Larry
> </script>
>
> Raymendhttp://www.dyngeometry.com
>
> On Aug 5, 11:37 am, Lastwolf <webmas...@lastwolf.com> wrote:
>
>
>
> > Hello all,
>
> > I have the opposite display problem than most. My map displays fine in
> > IE, Chrome and Safari but will not display in Firefox. This is a
> > DotNetNuke site and I had to replace the:
>
> > <body onload="initialize();" onunload="GUnload()"> with:
>
> > <script>
> > document.body.onload = initialize;
> > document.body.onunload = GUnload;
> > </script>
>
> > because I have no way to to modify the body tag. I'm not sure if that
> > is what is causing the issue. I suppose I could load in an I-frame but
> > prefer to display in a div on the page.
>
> > Here is the link:http://www.richardenglish.com/Photography/Italy/Arezzo.aspx
>
> > Any help is appreciated.
>
> > Richard English- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home