先怨念的大吼一声windows7快快普及,让捆绑IE6的XP见鬼去吧。
DD_belatedPNG,主要原理是用VML来实现的,而非AlphaImageLoader。正因为如此,这个方法就能很好的支持背景坐标,以及避免了用滤镜方法经常出现的子元件不能被点击获取焦点等bug。
使用方法:
<!--[if IE 6]>
<script src="DD_belatedPNG.js" mce_src="DD_belatedPNG.js"></script>
<script type="text/javascript">
/* EXAMPLE */
DD_belatedPNG.fix('.png_bg');
/* 这里的语法和css一样的。直接写需要fix的id,class都行。hover,需要id:hover;fix(‘.example1, .example2, img’);*/
</script>
<![endif]–>
目前存在的问题:
不能对body使用。
tr,td不能
fixed坐标不支持。
input typle img不支持。
下载地址:http://dillerdesign.com/experiment/DD_belatedPNG/#download
<![endif]-->
Leave a Reply
Using Gravatars in the comments - get your own and be recognized!
XHTML: These are some of the tags you can use:
<a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>