Changing the IE Specific code. We create a regular alphaImageDiv, then resize it after we get it back. Hopefully this makes IE less cranky.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@379 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -70,8 +70,9 @@ OpenLayers.Control.PanZoomBar.prototype =
|
|||||||
var div = null
|
var div = null
|
||||||
if ((document.body.filters && (version >= 5.5) && (version < 7))) {
|
if ((document.body.filters && (version >= 5.5) && (version < 7))) {
|
||||||
div = OpenLayers.Util.createAlphaImageDiv(imgLocation+"zoombar.png",
|
div = OpenLayers.Util.createAlphaImageDiv(imgLocation+"zoombar.png",
|
||||||
new OpenLayers.Size(sz.w, zoomStopSize),
|
new OpenLayers.Size(sz.w, zoomStopSize),
|
||||||
centered, "absolute", "OpenLayers_Control_PanZoomBar_Slider" + this.map.id, sz);
|
centered, "absolute", "OpenLayers_Control_PanZoomBar" + this.map.id);
|
||||||
|
div.style.height = sz.h;
|
||||||
} else {
|
} else {
|
||||||
div = OpenLayers.Util.createDiv(
|
div = OpenLayers.Util.createDiv(
|
||||||
'OpenLayers_Control_PanZoomBar_Zoombar' + this.map.id,
|
'OpenLayers_Control_PanZoomBar_Zoombar' + this.map.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user