[Mapbender-commits] r5857 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Mar 29 09:57:14 EDT 2010


Author: verenadiewald
Date: 2010-03-29 09:57:14 -0400 (Mon, 29 Mar 2010)
New Revision: 5857

Modified:
   trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php
Log:
define width and height of html iframe

Modified: trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php	2010-03-29 12:06:04 UTC (rev 5856)
+++ trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php	2010-03-29 13:57:14 UTC (rev 5857)
@@ -117,9 +117,10 @@
 					mb_ajax_post(path, {'url':currentRequest},function(js_code,status){
 						if(js_code){
 							if(featureInfoLayerPopup == 'true') {
-								$("<iframe class='fiResultFrame' id='featureInfo_"+ i + "' title='<?php echo _mb("Information");?>' src='" + path + "?url=" + encodeURIComponent(currentRequest) + "'></iframe>").dialog({
+								$("<div><iframe frameborder=0 class='fiResultFrame' id='featureInfo_"+ i + "' style='width:100%;height:100%;' src='" + path + "?url=" + encodeURIComponent(currentRequest) + "'></iframe></div>").dialog({
 									bgiframe: true,
 									autoOpen: true,
+									title: '<?php echo _mb("Information");?>',
 									modal: false,
 									width:parseInt(featureInfoPopupWidth, 10),
 									height:parseInt(featureInfoPopupHeight, 10),
@@ -128,6 +129,7 @@
 										$(this).remove();
 									}
 								});
+								
 								$(".noResultFound").dialog("close");
 							}
 							else{



More information about the Mapbender_commits mailing list