IE 6 PNG fix – VERY INTERESTING UPDATE

Permalink
I have found a PNG fix that works like a charm placed at the top of deault.php.

Unfortunately despite more than 6 other pages using default.php as design type the only page that works is the homepage or the domain name page I suppose.

As soon as the other pages kick in (and the header content is identical) the fix does'nt work.

Anyone have any bright ideas.

IE6 makes me very very unhappy indeed.

sniff

Nige

UPDATE:

When this path is used: (via sitemap)

http://bonaccord.co.nz/index.php?cID=47...

It works.

When I navigate via superfish to this path (same page):

http://bonaccord.co.nz/index.php/index.php/about/...

It doesnt. Weird.

nige
 
immergente replied on at Permalink Reply
Hi Nige,

the fix sounds interessant...
Could you post it or post the address where you found it? It would be extremly usefull!
Thanks!
nige replied on at Permalink Reply
nige
Ive tried the Belated PNG fix and the UNIT PNG fix with mixed success in concrete 5.

Now Im not using either.

Take your pick. If ou find out any more than me please let me know.

ie6 still lives Im afraid.

http://net.tutsplus.com/videos/screencasts/5-easy-ways-to-tackle-ie...

Nige
orisinal replied on at Permalink Reply
orisinal
I've used successfully Unit PNG fix, but for some reason I have to use the class "unitPng" with the elements that should be fixed.

Get it fromhttp://labs.unitinteractive.com/unitpngfix.php... and put unitpngfix.js into theme's js directory. Put the clear.gif into your theme's images directory and change the first line of unitpngfix.js to point there, relative to root. At last thing add this code inside your theme template <header>.
<!--[if lt IE 7]>
<script type="text/javascript" src="<?php echo $this->getThemePath(); ?>/js/unitpngfix.js"></script>
<![endif]-->


I haven't noticed any difference if I used clear.gif or not, but there should be some versions of IE6 that needs it.

Would be nice to hear your results and maybe better solutions!
senshidigital replied on at Permalink Reply
senshidigital
This is what we use too.
reachdigital replied on at Permalink Reply
reachdigital
Works great just ensure you add the right path to clear.gif

var clear="/themes/yourtheme/images/clear.gif"; //path to clear.gif
Abs0lute replied on at Permalink Reply
Abs0lute
I tried out a few workarounds and nothing was working except this one:
http://www.twinhelix.com/css/iepngfix/...

This seems to work great. However, I use IEtester on our PC and feel I can't always trust what it says, but it's better than nothing, and overall it works well. It did show a warning message though, so I'm not sure if it would normally cause a warning in IE or it's just IEtester.
Abs0lute replied on at Permalink Reply
Abs0lute
Scratch that one. While it does work, the warning appears if there's a link associated w/ the transparent PNG. It also requests way too much from the server for some reason.
It'll work, but there is some down sides.
Hands down, the best fix you can do that doesn't require anything extra is to use Adobe Fireworks, open your PNG in it, then optimize it at PNG8 with Alpha Transparency. For 90% of images that need transparency, this is the way to go. Transparency is much better than GIF transparency as it allows multiple colors of transparency, and your file size will be much smaller than a PNG24 or PNG32, and it doesn't require anything additional. IE 6 can read PNG8 transparency no problem.