OpenLayers OpenLayers

Ticket #1185: 1185.00.patch

File 1185.00.patch, 1.0 kB (added by fredj, 1 year ago)

use the opacity argument of Util.createDiv

  • lib/OpenLayers/Handler/Box.js

    old new  
    6666                                                 null, 
    6767                                                 null, 
    6868                                                 "absolute", 
    69                                                  "2px solid red"); 
     69                                                 "2px solid red",  
     70                                                 null, 
     71                                                 0.5); 
    7072        this.zoomBox.style.backgroundColor = "white"; 
    71         this.zoomBox.style.filter = "alpha(opacity=50)"; // IE 
    72         this.zoomBox.style.opacity = "0.50"; 
    7373        this.zoomBox.style.fontSize = "1px"; 
    7474        this.zoomBox.style.zIndex = this.map.Z_INDEX_BASE["Popup"] - 1; 
    7575        this.map.viewPortDiv.appendChild(this.zoomBox);