line 26:

replace:
$js = "$(document).ready(function(){ $('$pngfixclasses').pngFix(); });";

with:
$js = "<!--[if IE 6]>$(document).ready(function(){ $('$pngfixclasses').pngFix(); });< ![endif]-- >";

Comments

luco’s picture

hey there,

I've tested on IE8 but couldn't check that. would you mind providing steps to reproduce?

I'm interested because I have a site for a client who uses IE6 :/

cheers

madlee’s picture

luco,

I don't remember the specifics, but I think because pngs are supported by IE8, you don't want IE8 to run the png fix. Adding the conditional comment prevents that.