[OpenLayers-Commits] r11642 - sandbox/sbrunner/headers/lib/OpenLayers

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Mon Mar 7 05:06:42 EST 2011


Author: sbrunner
Date: 2011-03-07 02:06:41 -0800 (Mon, 07 Mar 2011)
New Revision: 11642

Modified:
   sandbox/sbrunner/headers/lib/OpenLayers/Util.js
Log:
try to fix zoom slider position

Modified: sandbox/sbrunner/headers/lib/OpenLayers/Util.js
===================================================================
--- sandbox/sbrunner/headers/lib/OpenLayers/Util.js	2011-03-07 09:26:23 UTC (rev 11641)
+++ sandbox/sbrunner/headers/lib/OpenLayers/Util.js	2011-03-07 10:06:41 UTC (rev 11642)
@@ -434,7 +434,7 @@
         img.src = imgURL;
     }
     OpenLayers.Util.modifyDOMElement(img, div.id + "_innerImage", null, sz, 
-                                     "relative", border);
+                                     "absolute", border);
     
     if (OpenLayers.Util.alphaHack()) {
         if(div.style.display != "none") {
@@ -480,7 +480,7 @@
                                                opacity, delayDisplay) {
     
     var div = OpenLayers.Util.createDiv();
-    var img = OpenLayers.Util.createImage(null, null, null, null, "absolute", 
+    var img = OpenLayers.Util.createImage(null, null, null, null, null, 
                                           null, null, false);
     div.appendChild(img);
 



More information about the Commits mailing list