Issue 453: activate png transparency AFTER a modal opening
Status:  Fixed
Owner: ----
Closed:  Apr 2010
Reported by guillaume.lebigot, Mar 29, 2010
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
#1 guillaume.lebigot
I tried this lines too :

$.nyroModalSettings({
	endShowContent: function(elts, settings) {
		DD_belatedPNG.fix(elts.contentWrapper);
	}
});
Mar 29, 2010
#2 guillaume.lebigot
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
#3 guillaume.lebigot
I use CSS only : 

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,
sizingMethod=scale, src='img/myimage.png');

All bugs disappear.
Apr 17, 2010
Project Member #4 nyro...@gmail.com
Glad you find the solution by yourself, and thanks for sharing!
Status: Fixed