On Jan 24, 5:33 pm, juno <[email protected]> wrote:
>
> So i googled a bit and found out that checkresize() might be the
> answer for my problem.
> I've tried it...and now it's working fine in IE7 but still not in FF3 :
> (
>
> Link to the page:http://www.viapasso.nl/googlemaps/
>
> Am i doing something wrong?
> Placing checkresize in the $("#showmap").click(function() didn't
> worked out either..

Your "map" variable needs to be global. Currently it's local to
initialize().

In your showmap() function, don't use window.onload. That's for the
whole page, not the div you're unhiding. Replace that line with
  map.checkResize();
having first made your map variable global.

Alternatively, use the {size} option when you create your map. But
using window.onload is still wrong.

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

Reply via email to