| Issue 453: | activate png transparency AFTER a modal opening | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
What steps will reproduce the problem?
1. I open a modal with a Div format (not iframe)
2. the modal have rounded corners in png image
2. i tried to activate PNG transparency with "DD_belatedPNG.fix('*');" line
but I don't found where i can put this line. I think about the
endShowContent() function but maybe i have problem of syntax.
What version of the product are you using? On what operating system?
IE6, XP SP3
Please provide any additional information below.
I use the "DD_belatedPNG_0.0.8a" script, here :
http://www.dillerdesign.com/experiment/DD_belatedPNG/
Mar 29, 2010
It works with:
$.nyroModalSettings({
endShowContent: function(elts, settings) {
$(document).pngFix();
}
});
With this solution : http://jquery.andreaseberhard.de/pngFix/
But others bugs appear, some images are duplicated automaticaly when pngFix() is
executed, for example, the modal-close-button image is duplicated on the top of the
parent code page...i am looking for debug the problem.
Mar 29, 2010
I use CSS only : filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='img/myimage.png'); All bugs disappear.
Apr 17, 2010
Glad you find the solution by yourself, and thanks for sharing!
Status:
Fixed
|
||||||||
I tried this lines too : $.nyroModalSettings({ endShowContent: function(elts, settings) { DD_belatedPNG.fix(elts.contentWrapper); } });