使用说明:
PNG的页面中引用代码
CODE:
<!–[if IE 6]>
<script. type=”text/javascript” src=”下载下来的JS路径”></script>
<script>
DD_belatedPNG.fix(’CSS选择器, 应用类型’);
</script>
<![endif]–>引用函数是 DD_belatedPNG.fix() , 括号里分别填写应用PNG的CSS选择器(可使用ID选择器和类选择器)和应用类型(分为img和background两种)。
如DD_belatedPNG.fix(’#box-one, img’) 或者 DD_belatedPNG.fix(’.header, background’) 等。
这些可以简写成 DD_belatedPNG.fix(’#box-one, .header, img,background’); 。
更多选择器的如 DD_belatedPNG.fix(’#box-one, .header,#footer,.box-two a:hover, img,background’); 等等。
参考资料:
http://dillerdesign.com/experiment/DD_belatedPNG/
http://www.osmn00.com/?p=419
http://www.14pc.com/?p=26
http://www.auzoom.com/career/20091013/ie6-png-ddbelatepng/
DD_belatedPNG_0.0.8a.rar
(2009-10-13 18:08:14, Size: 7.65 KB, Downloads: 0)