Jumlins TechBlog

The coding hell and the daily IT of Niklas Jumlin

June 7th, 2009 by Dennis

So i was battling with the need to use alpha transparent png’s for a website design, and as we all know IE6 sucks at this..

So i found this on the net: 24ways.org/…

Very usefull indeed…

Tho it lacked the possibility to only target specific areas, it was already supported to be limited to a single id and it’s nested elements. Tho i needed it for several areas, but not the whole page.

So i did a little hacking, and added possibility to have several id’s, probably not the best way but it gets the job done.

To use:

Put the files in scripts/

Edit the top of the .js file, to reflect which id’s to target.

And then add this to the html file in the <head> section:

<!--[if lte IE 6]>
<script type="text/javascript" src="scripts/supersleight.js"></script>

Download: Super Sleight Plus

2 Responses to “ Getting alpha transparent png’s to work in IE6 ”

  1. How soon will you update your blog? I’m interested in reading some more information on this issue.

  2. Dennis says:

    I don’t think there is much more to this issue, i solved it for the project i was working on. So i have no need to continue experimenting.

Leave a Reply