The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
iFixPng improved
This plugin is an improvement to the original iFixPng plugin. It may use some more resources and work slower, but there are some important improvements:
- The image or element with a background image doesn't have to be visible.
- background-position is now supported, including an IE absolute position fix. (bottom: -1px || bottom: 0px)
Update
- Since 3.1.0 background-position in percentages is fully supported. See the demo page for a demonstration.
Any improvements to speed or functionality are welcome. For as long as IE6 will be around, we need to tackle this problem together.
The unfix method was removed.
Usage:
// Set the transparent pixel
jQuery.ifixpng('/images/pixel.gif');
jQuery('img, .bgPng').ifixpng();note! When using jquery versions older than 1.2.6, please make sure to use the dimensions plugin, as the plugin relies on the outerWidth / outerHeight methods.
Known issues:
- Background-repeat is not supported.
