[Mapbender-commits] r2967 - in branches/nimix_dev/http: css
javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Sep 18 05:23:53 EDT 2008
Author: nimix
Date: 2008-09-18 05:23:53 -0400 (Thu, 18 Sep 2008)
New Revision: 2967
Modified:
branches/nimix_dev/http/css/popup.css
branches/nimix_dev/http/javascripts/mod_tooltip.php
Log:
round corner for webkit, element var for size, empty post-body
Modified: branches/nimix_dev/http/css/popup.css
===================================================================
--- branches/nimix_dev/http/css/popup.css 2008-09-18 09:23:07 UTC (rev 2966)
+++ branches/nimix_dev/http/css/popup.css 2008-09-18 09:23:53 UTC (rev 2967)
@@ -26,7 +26,8 @@
background:#EEEEEE url(../img/info_on.gif) 8px 8px no-repeat;
border: 1px solid #000;
-moz-border-radius:10px;
-
+ -webkit-border-radius: 10px;
+
/*border to client area (top right bottom left)*/
padding: 30px 10px 10px 10px;
}
Modified: branches/nimix_dev/http/javascripts/mod_tooltip.php
===================================================================
--- branches/nimix_dev/http/javascripts/mod_tooltip.php 2008-09-18 09:23:07 UTC (rev 2966)
+++ branches/nimix_dev/http/javascripts/mod_tooltip.php 2008-09-18 09:23:53 UTC (rev 2967)
@@ -45,6 +45,10 @@
var tooltip_timeDelay = 1000;
if(typeof(tooltip_styles)==='undefined')
var tooltip_styles = "";
+if(typeof(tooltip_width)==='undefined')
+ var tooltip_width = 270;
+if(typeof(tooltip_height)==='undefined')
+ var tooltip_height = 200;
if(typeof(tooltip_styles_detail)==='undefined')
var tooltip_styles_detail = "";
try{
@@ -88,7 +92,7 @@
tooltipWmsRequestCount = urls.length;
numberOfFinishedWmsRequests = 0;
for(var j=0;j < urls.length;j++){
- mb_ajax_post("../extensions/ext_featureInfoTunnel.php?url="+encodeURIComponent(urls[j]), null,
+ mb_ajax_post("../extensions/ext_featureInfoTunnel.php", {url:urls[j]},
checkFeatureInfoResults);
}
@@ -183,7 +187,7 @@
tooltipWin.destroy();
//create Popup and append document
- tooltipWin = new mb_popup({html:'<iframe id="tooltipWin" name="tooltipWin" src="about:blank"/>',title:TooltipMsg.title,width:270,height:200,balloon:true,left:x,top:y});
+ tooltipWin = new mb_popup({html:'<iframe id="tooltipWin" name="tooltipWin" src="about:blank"/>',title:TooltipMsg.title,width:tooltip_width,height:tooltip_height,balloon:true,left:x,top:y});
//open document
tooltipWin.open();
}
More information about the Mapbender_commits
mailing list