[Mapbender-commits] r3910 - branches/2.5/http/javascripts
branches/2.6/http/javascripts trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Apr 28 06:43:33 EDT 2009
Author: christoph
Date: 2009-04-28 06:43:33 -0400 (Tue, 28 Apr 2009)
New Revision: 3910
Modified:
branches/2.5/http/javascripts/popup.js
branches/2.6/http/javascripts/popup.js
trunk/mapbender/http/javascripts/popup.js
Log:
width and height of popup
http://trac.osgeo.org/mapbender/ticket/456
Modified: branches/2.5/http/javascripts/popup.js
===================================================================
--- branches/2.5/http/javascripts/popup.js 2009-04-28 08:18:02 UTC (rev 3909)
+++ branches/2.5/http/javascripts/popup.js 2009-04-28 10:43:33 UTC (rev 3910)
@@ -267,7 +267,7 @@
//Insert content
if(settings.url)
- html = ('<iframe name="'+settings.frameName+'" src="'+settings.url+'"></iframe>');
+ html = ('<iframe name="'+settings.frameName+'" width="' + settings.width + '" height="' +settings.height + '" src="'+settings.url+'"></iframe>');
else
html = ('<div class="scrollDiv">'+settings.html+'</div>');
Modified: branches/2.6/http/javascripts/popup.js
===================================================================
--- branches/2.6/http/javascripts/popup.js 2009-04-28 08:18:02 UTC (rev 3909)
+++ branches/2.6/http/javascripts/popup.js 2009-04-28 10:43:33 UTC (rev 3910)
@@ -377,7 +377,7 @@
//Insert content
if(settings.url)
- html = ('<iframe name="'+settings.frameName+'" src="'+settings.url+'"></iframe>');
+ html = ('<iframe name="'+settings.frameName+'" width="' + settings.width + '" height="' +settings.height + '" src="'+settings.url+'"></iframe>');
else
html = ('<div class="scrollDiv">'+settings.html+'</div>');
Modified: trunk/mapbender/http/javascripts/popup.js
===================================================================
--- trunk/mapbender/http/javascripts/popup.js 2009-04-28 08:18:02 UTC (rev 3909)
+++ trunk/mapbender/http/javascripts/popup.js 2009-04-28 10:43:33 UTC (rev 3910)
@@ -377,7 +377,7 @@
//Insert content
if(settings.url)
- html = ('<iframe name="'+settings.frameName+'" src="'+settings.url+'"></iframe>');
+ html = ('<iframe name="'+settings.frameName+'" width="' + settings.width + '" height="' +settings.height + '" src="'+settings.url+'"></iframe>');
else
html = ('<div class="scrollDiv">'+settings.html+'</div>');
More information about the Mapbender_commits
mailing list