PDA

View Full Version : Belated PNG Only Works on shift + refresh?



Beakersworth
Oct 21st, 2011, 09:20 PM
I am at my wits end! I've added DD belated PNG to nearly every site I've ever made with little or no problems, suddenly it's being super-extra mean to me. It will only load PNGs correctly if you clear your cache when refreshing the page (shift + refresh). Check it out at the link below (obfuscated so google doesn't index the site):

http://ow.ly/758Dp

Here's the script:


<!--[if IE 6]>
<script src="/~onsite/js/DD_belatedPNG.js"></script>
<script>
DD_belatedPNG.fix('.shadow, #header_wrapper, header, header a, .slideshow h1, .pager_wrapper, #upcoming_wrapper, li.menuTools a, li.menuRSS a, .eDetailShareE, .saveToCal a, #services_wrapper, #services li');
</script>
<![endif]-->

What am I doing wrong here?

Thanks so much for any help!

NOTE: Just so everyone's aware, this is an IE6 only script that is supposed to fix PNG transparencies, so you'll need to look at it in IE6 to see the problems.