adjust inner image id, do not bother with trying to directly set width and height on image element, it doesnt work anyways
git-svn-id: http://svn.openlayers.org/trunk/openlayers@364 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -687,7 +687,7 @@ OpenLayers.Util.createAlphaImageDiv = function(imgURL, sz, px, position,
|
||||
|
||||
var div = OpenLayers.Util.createDiv(id, px, sz);
|
||||
var img = OpenLayers.Util.createImage(imgURL, sz, null, "relative",
|
||||
id + "innerImage", border);
|
||||
id + "_innerImage", border);
|
||||
div.appendChild(img);
|
||||
|
||||
|
||||
@@ -703,8 +703,6 @@ OpenLayers.Util.createAlphaImageDiv = function(imgURL, sz, px, position,
|
||||
".AlphaImageLoader(src='" + imgURL + "')";
|
||||
img.style.filter = "progid:DXImageTransform.Microsoft" +
|
||||
".Alpha(opacity=0)";
|
||||
img.width = img.style.width;
|
||||
img.height = img.style.height;
|
||||
}
|
||||
|
||||
return div;
|
||||
|
||||
Reference in New Issue
Block a user