mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-07-01 07:02:48 +02:00
"fix for IE 6 pngbugfix, some images where not displayed after turning on the Bugfix. E. g. in the clander oder infolog. Sponsored by Karl Knauber Holding "
This commit is contained in:
@ -22,11 +22,14 @@ function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or high
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
var strNewHTML = "<span " + imgID + imgClass + imgTitle
|
var strNewHTML = "<span " + imgID + imgClass + imgTitle
|
||||||
strNewHTML += " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
|
var width = img.width ? img.width : 16
|
||||||
|
var height = img.height ? img.height : 16
|
||||||
|
strNewHTML += " style=\"" + "width:" + width + "px; height:" + height + "px;" + imgStyle + ";"
|
||||||
strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
|
strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
|
||||||
strNewHTML += "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
|
strNewHTML += "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
|
||||||
if(img.className != 'sideboxstar') {
|
if(img.className != 'sideboxstar') {
|
||||||
img.outerHTML = strNewHTML
|
img.outerHTML = strNewHTML
|
||||||
|
|
||||||
i = i-1
|
i = i-1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user