[Mapbender-commits] r5328 - branches/2.6/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jan 13 15:44:35 EST 2010


Author: marc
Date: 2010-01-13 15:44:34 -0500 (Wed, 13 Jan 2010)
New Revision: 5328

Modified:
   branches/2.6/http/javascripts/mod_pan.php
   branches/2.6/http/javascripts/mod_selArea1.php
Log:
cursor styles

Modified: branches/2.6/http/javascripts/mod_pan.php
===================================================================
--- branches/2.6/http/javascripts/mod_pan.php	2010-01-13 16:12:38 UTC (rev 5327)
+++ branches/2.6/http/javascripts/mod_pan.php	2010-01-13 20:44:34 UTC (rev 5328)
@@ -45,7 +45,7 @@
 }
 function mod_pan_click(){   
 	var p = mod_pan_MapObj.getDomElement();
-	p.style.cursor = "pointer";
+	p.style.cursor = "move";
 	
 	p.onmousedown = mod_pan_start;
 	p.onmouseup = mod_pan_stop;
@@ -53,7 +53,7 @@
 }
 function mod_pan_disable(){
 	var p = mod_pan_MapObj.getDomElement();
-	p.style.cursor = "pointer";
+	p.style.cursor = "default";
 
 	p.onmousedown = null;
 	p.onmouseup = null;

Modified: branches/2.6/http/javascripts/mod_selArea1.php
===================================================================
--- branches/2.6/http/javascripts/mod_selArea1.php	2010-01-13 16:12:38 UTC (rev 5327)
+++ branches/2.6/http/javascripts/mod_selArea1.php	2010-01-13 20:44:34 UTC (rev 5328)
@@ -49,12 +49,14 @@
 	el.onmousedown = mod_box_start;
 	el.onmouseup = mod_selArea_get;
 	el.onmousemove = mod_box_run;
+	el.style.cursor = "crosshair";
 }
 function mod_selArea_disable(){
 	var el = mod_selArea_MapObj.getDomElement();
 	el.onmousedown = null;
 	el.onmouseup = null;
 	el.onmousemove = null;
+	el.style.cursor = "default";
 }
 function mod_selArea_init(e){
 	mb_isBF = mod_selArea_target;



More information about the Mapbender_commits mailing list