As you've noticed, using height="100%" doesn't make the iframe fill the browser window height. You can either change it to a sensible size in pixels, if that works for your particular use case, or you can write some javascript to resize the frame. I found a posting on how to do this here:
http://brondsema.net/blog/index.php/2007/06/06/100_height_iframe Chris. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jamesdudden Sent: Wednesday, October 29, 2008 7:38 AM To: [email protected] Subject: [mapguide-users] Can anybody help with iframes? Hi, I have my map in an iframe - the problem is that it only displays part of the screen (see below image attached) my code for this is as follows: <iframe marginheight=0 marginwidth=0 frameborder=0 width="100%" height="100%" scrolling="no" src="http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fSSE%2fWeb+layouts%2fBlxo37002sht1+Web+Layout.WebLayout&LOCALE=en&USERNAME=Anonymous&PASSWORD="></iframe> Does anybody know what is going wrong? I am using MG2, windows 2003 server, .Net environment and Ajax viewer. Regards http://www.nabble.com/file/p20227294/map.jpg ----- Straightforward solutions to take care of your business http://www.software-matters.co.uk Software Matters -- View this message in context: http://www.nabble.com/Can-anybody-help-with-iframes--tp20227294p20227294.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
