the advantage that the DD_belatedPNG script has is that it supports
both position and repeat for background images. But if you don't need
those, then the TwinHelix one is a nice option. I see that the
TwinHelix iepngfix v2.0 Alpha 3 also has support for position and
repeat, but, as it says, it's an alpha version.
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 9, 2009, at 10:07 AM, Ricardo Tomasi wrote:
This script is the most common one, it doesn't require any special
mark-up for the fix:
http://www.twinhelix.com/css/iepngfix/
On Jan 8, 5:47 pm, _cam_ <[email protected]> wrote:
Yes, I'm using the script athttp://www.dillerdesign.com/experiment/DD_belatedPNG/
.
Rather than hard coding the class "pngFix" to the elements, I want to
add them on the fly.
Thank you.
On Jan 7, 8:23 pm, Ricardo Tomasi <[email protected]> wrote:
This seems to work.
$('elements').filter(function(){
return $(this).css('backgroundImage').indexOf('.png')+1;
});
Out of curiosity, are you trying to deal with png transparency in
IE6?
On Jan 7, 4:29 pm, _cam_ <[email protected]> wrote:
How would youselectelements that haveCSSbackground images ending
with .png? And then add a class.