Since the map needs to know how big its container is, the container
needs to be loaded first.  Having the script buried in with the html
means the script loads (and executes) while the page is loading, not
after..  Two things:  (1)  load the script in the header, (2) utilize
an onload event to begin initializing the map after the page is fully
loaded.

On Jan 9, 3:05 pm, zaid <[email protected]> wrote:
> thanksssssss Larry
>
> it is work me in local when i move the script at the bottom. :)
>
> On Jan 9, 8:36 pm, "[email protected]" <[email protected]>
> wrote:
>
> > On Jan 9, 9:32 am, "[email protected]" <[email protected]>
> > wrote:
>
> > > when move the map DIV to above table it is working fine. please can
> > > you explean more ?
>
> > Did you do this?
>
> > > search for "IE table".
>
> > It has been discussed at length.  My brief explanation captures the
> > essence.  What don't you understand?
>
> >   -- Larry
>
> > > thanks
>
> > > On Jan 3, 1:35 am, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Jan 2, 3:38 pm, "[email protected]" <[email protected]>
> > > > wrote:
>
> > > > > Dears,
> > > > > I am using Google map in my site but I face the following issue:
> > > > > The map images not upper in it is frame you can see it on the
> > > > > following like :
>
> > > > >http://www.fasttravian.com/GetOfferDetails.aspx?AdvertisementID=2
>
> > > > Looks fine to me in Firefox 3.0.5 on WinXp, what browser/OS are you
> > > > using?
>
> > > > Ah, IE.  You should search for "IE table".  You map div and script are
> > > > inside a table.  You can leave the div where it is, but he script
> > > > needs to be at the bottom, just before the </body> tag, and after all
> > > > open tags are closed (or it can be defined in the head and run in an
> > > > onload function).
>
> > > > The problem is IE doesn't assign a non-zero size to the map div until
> > > > the DOM is completely defined.  By that time your script has already
> > > > run and created the map.
>
> > > >   -- Larry- Hide quoted text -
>
> > > - Show quoted text -- 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 [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