Hi, Sorry, I forgot something:
Without background: > jQuery.fn.IEPNGHack = function() { > if (!$.browser.msie) return this; > return this.each(function() { > [...] > }); > }; With background: > jQuery.fn.IEPNGHack = function() { > if (!$.browser.msie) return this; > return this.filter('[EMAIL PROTECTED]').each(function() { > [...] > }).end().not('[EMAIL PROTECTED]') > .filter('img') > .not('[EMAIL > PROTECTED]'+jQuery.IEPNGHack.emptygif+']').css({filter:none}) > .end() > .end().not('img').each(function() { > [...] > }).end(); > }; Of course it should be chainable. I just read Klaus comment which reminded me ;-) Christof _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/