mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01: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:
parent
42e4f1facd
commit
c9fda6abcf
@ -22,11 +22,14 @@ function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or high
|
||||
}
|
||||
}
|
||||
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 += "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
|
||||
if(img.className != 'sideboxstar') {
|
||||
img.outerHTML = strNewHTML
|
||||
|
||||
i = i-1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user