Originally Posted By: hybrid8
Originally Posted By: tfabris
For browsers that don't support it at all


Fortunately (or unfortunately?) there's only one browser in use today that doesn't support PNG alpha and it's IE6. Anyone doing anything on their page to try and support anything older than that (IE5.x or Netscape 4.x) is only doing themselves and the rest of the world a disservice.


I'm specifically supporting IE5, although I haven't tried netscape 4.x.

Anyway, the intermediate browser that I'm supporting which WILL do PNG alpha through a DirectX call is IE6. I've got that working, it's what I do at www.vixyandtony.com .

So in summary, what my code does is:

IE5 and earlier, or any IE that responds to conditional comments and recognizes itself as earlier than IE6: transparent GIF.

IE6: DirectX call using a transparent GIF background and an alpha PNG foreground to get alpha transparency.

Everyone else: Full PNG with alpha transparency.

Fortunately, I can do all of the above with conditional comments and I don't need any javascript.
_________________________
Tony Fabris