Unit PNG Fix

While creating a new MangoWear theme I needed a transparent png fix so I looked to Unit Interactive's unitpngfix.js. It's the easiest script to use and requires very little work to implement. Rather than manually adding the code to each theme I thought I would create a Mango Blog plugin so others can take advantage of it for your own themes.
If your not familiar with the unit png fix or why you need a png fix, here is a quick breakdown. Internet Explorer 6 does not support png's with an alpha transparency. So the genius minds over at Unit Interactive created a javascript that is really easy to use and fixes that lack of support for transparent png's Now you can create graphics for your page that have fades, drop shadows or anything with an alpha channel. Best of all it's only 1kb!
Unit PNG Fix will, by default, run automatically on all pngs on the page. If you wish, you can force the script to only fix specific elements by adding the class "unitPng" to those elements. This will cause only those specified elements to be fixed, and may help you work around any layout issues that the Unit PNG Fix may cause by default.
The Unit PNG Fix is not perfect. IE6 does not always properly with repeated background images. They talk about this on their website so if your needing this feature, check the Unit Interactive site for technotes and updates.
Download the Unit PNG Fix Plugin
- Plugin version:
- 0.1
- Last Updated:
- 2009-10-17
- Requires:
- Mango Blog 1.3+
- Auto-install URL:
- http://www.visual28.com/assets/content/mango/unitpngfix.zip
Tags: Mango Blog · Plugins
0 comments so far ↓
There are no comments yet... You can be the first to leave a comment and kick start the conversation.
Leave a Comment