View Full Version : [3.0/core] IE6 PNG fix

7 Nov 2009, 3:21 PM
Hi all,

unfortunately I still have to support Internet Explorer 6. As you know, IE6 only supports PNGs with alpha transparency through a hack. Applying this hack manually was too tedious and error-prone for me, the available JavaScript solutions too big.

Therefore I created extcore-pngfix (http://github.com/d--j/extcore-pngfix), a 700 bytes (gziped net weight) small drop-in that automatically applies the PNG hack if necessary.

Download: http://cloud.github.com/downloads/d--j/extcore-pngfix/pngfix-0.1.0.tar.gz
Source-code/Homepage: http://github.com/d--j/extcore-pngfix

It's a MIT licensed project hosted on GitHub. So feel free to copy/fork/modify it as you like.

5 Jan 2010, 7:27 AM
This does not work. Has no effect on my png's. Any updates or bug fixes?

6 Jan 2010, 5:33 AM
I would be very interested in this fix but cannot get this to work... anything special I need to do?

If I add this line it will start asking for Quicktips.init

<script src="http://ajax.googleapis.com/ajax/libs/ext-core/3/ext-core.js" type="text/javascript" charset="utf-8"></script>

I'm using Ext 3.1

10 Nov 2010, 9:38 AM
thanks for the PNG fix as I too am cursed with supporting IE6.

however your plugin stretches png icons used in buttons to the width of the button.