DD_belatedPNG
- You can use 24-bit alpha-translucent PNG images for the background-image CSS property in Internet Explorer 6.
- Support for background-position and background-repeat. Apparently Angus of TwinHelix has also figured out a way!
- There is no usage of AlphaImageLoader, so this doesn't have the buggy z-indexing associated with that filter.
- Responds to Javascript element.style assignments and the :hover pseudo-class.
- ~7.5Kb uncompressed … ~6Kb compressed
- Easy implementation:
<!--[if IE 6]>
<script src="DD_belatedPNG.js"></script>
<script>
DD_belatedPNG.fix('.png_bg'); //EXAMPLE
</script>
<![endif]-->
http://www.dillerdesign.com/experiment/DD_belatedPNG/
No comments:
Post a Comment