Wes Saalmink wrote: > I've been trying to solve a problem with embedding Google Maps > fullscreen on a website, but making it scale in height. > > To put it simple, I want Google Maps to display full-screen, but I > have a 25px header I want to show above it. > Somehow, it's possible to make the map scale in width to 100% (like > the example > ofhttp://groups.google.com/group/Google-Maps-API/browse_thread/thread/b...) > but I can't make it do the same in height. I always end up with a > scrollbar on the right. And if I hide the scrollbar, then the Google > logo isn't visible anymore so that's a no-go aswell. > > Has anyone else had this problem? > My current test page is over here:http://www.noxious.org/test_maps.html
You could determine the viewport height of the current window in pixels, and then do -25px. http://www.jibbering.com/faq/#getWindowSize -- Bart --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
