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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jan 27 06:12:19 EST 2010


Author: verenadiewald
Date: 2010-01-27 06:12:18 -0500 (Wed, 27 Jan 2010)
New Revision: 5436

Modified:
   trunk/mapbender/http/javascripts/mod_measure.php
Log:
removed parent. and frameName -> mapframe is div, not iframe

Modified: trunk/mapbender/http/javascripts/mod_measure.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_measure.php	2010-01-26 13:48:55 UTC (rev 5435)
+++ trunk/mapbender/http/javascripts/mod_measure.php	2010-01-27 11:12:18 UTC (rev 5436)
@@ -65,7 +65,7 @@
 		el.style.position = "absolute";
 		el.style.top = "0px";
 		el.style.left = "0px";
-		el.style.zIndex = "21";
+		el.style.zIndex = "98";
 		el.style.fontSize = "10px";
 
 		el1 = el.cloneNode(false);
@@ -301,8 +301,8 @@
 });
 
 function mod_closePolygon(){
-	var str =  "<div style='position:absolute;top:25px' onmouseup='parent.mod_closePolygon_go()' ";
-	str += "onmouseover='parent.mod_measure_timeout()' onmouseout='parent.mod_measure_disableTimeout()'><img src='"+mod_closePolygon_img.src+"' style='cursor:pointer' title='"+mod_closePolygon_img.title+"'></div>";
+	var str =  "<div style='position:absolute;top:25px' onmouseup='mod_closePolygon_go()' ";
+	str += "onmouseover='mod_measure_timeout()' onmouseout='mod_measure_disableTimeout()'><img src='"+mod_closePolygon_img.src+"' style='cursor:pointer' title='"+mod_closePolygon_img.title+"'></div>";
 	return str;
 }
 function mod_closePolygon_go(){
@@ -317,7 +317,7 @@
 });
 
 function mod_rubber(){
-   var str =  "<div onmouseup='parent.mod_rubber_go()' onmouseover='parent.mod_measure_timeout()' onmouseout='parent.mod_measure_go()'><img src='"+mod_rubber_img.src+"' style='cursor:pointer' title='"+mod_rubber_img.title+"'></div>";
+   var str =  "<div onmouseup='mod_rubber_go()' onmouseover='mod_measure_timeout()' onmouseout='mod_measure_go()'><img src='"+mod_rubber_img.src+"' style='cursor:pointer' title='"+mod_rubber_img.title+"'></div>";
    return str;
 }
 function mod_rubber_go(){
@@ -332,8 +332,8 @@
 });
 
 function mod_getArea(){
-	var str =  "<div id='getAreaButton' style='position:absolute;top:50px' onmouseup='parent.mod_getArea_go()' ";
-	str += "onmouseover='parent.mod_measure_timeout()' onmouseout='parent.mod_measure_disableTimeout()'><img src='"+mod_getArea_img.src+"' style='cursor:pointer' title='"+mod_getArea_img.title+"'></div>";
+	var str =  "<div id='getAreaButton' style='position:absolute;top:50px' onmouseup='mod_getArea_go()' ";
+	str += "onmouseover='mod_measure_timeout()' onmouseout='mod_measure_disableTimeout()'><img src='"+mod_getArea_img.src+"' style='cursor:pointer' title='"+mod_getArea_img.title+"'></div>";
 	return str;
 }
 function mod_getArea_go(){



More information about the Mapbender_commits mailing list