Saturday, August 28, 2010

Re: IE (7) maps in hidden divs

Sorry, the link was wrong. It's http://valusage.com/ad3/ (not ad2).

On Aug 28, 4:20 am, Andrew Leach <andrew.leac...@gmail.com> wrote:
> On 28 August 2010 00:37, iggyman <ssbr...@gmail.com> wrote:
>
>
>
>
>
> > I tried this solution from andrew...
>
> >  GSize should work. How about changing this:
> >  var map = new GMap2(document.getElementById(map));
> > into
> >  var mapElem = document.getElementById(map);
> >  var mapWidth = mapElem.style.width;
> >  var mapHeight = mapElem.style.height;
> >  var map = new GMap2(mapElem,{size:new GSize(mapWidth,mapHeight)});
> > and removing checkResize()
>
> > ...this did not work. The maps did not appear at all.
>
> > Here is the link to my page (still in development, so its ugly)
> >http://valusage.com/ad2
>
> Not only is it ugly, but there's only a message "The page you were
> looking for was not found".
>
> I can't remember the circumstances in which I suggested the code you
> quote, but if you do that while the mapdivishidden, it will set the
> size as zero.

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


Real Estate