jQuery插件-pngFix 实现PNG图片在IE6中透明
2011-05-28 17:07
579 查看
各版本下载地址:
http://plugins.jquery.com/project/pngFix
This plugin will fix the missing PNG-Transparency in Windows Internet Explorer 5.5 & 6.
Features
unobtrusive script, simple to setup
works now also with CSS-Backgrounds (but scaling backgrounds) (我试用了似乎背景给拉伸了。)
works with PNG-Images within Links
TITLE, ALT, CLASS and STYLE-Attributes are considered
说明:
支持图片作为背景透明,图片透明,输入框input背时景透明。不需要透明图片.
使用方法在压缩包内index.html里介绍。照顾一下不懂E文的说明下
head区域加入jQuery最新包
<script type="text/javascript" src="scripts/jQuery.pack.js"></script>
及加入压缩包内的
<script type="text/javascript" src="scripts/jquery.pngFix.pack.js"></script>
jquery.pngFix.pack.js 这个是经过压缩过后的,不能修改,想自己修改的看下源文件jquery.pngFix.js
可以注释掉对自己没用的部分。
然后写入下面的来调用它。
<script type="text/javascript">
$(document).ready(function(){
$(document).pngFix();
});
</script>
中国开源社区 jQuery插件
http://www.oschina.net/project/tag/151
http://plugins.jquery.com/project/pngFix
This plugin will fix the missing PNG-Transparency in Windows Internet Explorer 5.5 & 6.
Features
unobtrusive script, simple to setup
works now also with CSS-Backgrounds (but scaling backgrounds) (我试用了似乎背景给拉伸了。)
works with PNG-Images within Links
TITLE, ALT, CLASS and STYLE-Attributes are considered
说明:
支持图片作为背景透明,图片透明,输入框input背时景透明。不需要透明图片.
使用方法在压缩包内index.html里介绍。照顾一下不懂E文的说明下
head区域加入jQuery最新包
<script type="text/javascript" src="scripts/jQuery.pack.js"></script>
及加入压缩包内的
<script type="text/javascript" src="scripts/jquery.pngFix.pack.js"></script>
jquery.pngFix.pack.js 这个是经过压缩过后的,不能修改,想自己修改的看下源文件jquery.pngFix.js
可以注释掉对自己没用的部分。
然后写入下面的来调用它。
<script type="text/javascript">
$(document).ready(function(){
$(document).pngFix();
});
</script>
中国开源社区 jQuery插件
http://www.oschina.net/project/tag/151
相关文章推荐
- jQuery插件解决IE6下PNG图片不透明的问题
- JQuery插件第十七个: 改编网上流行的针对IE6下PNG图片透明插件
- 第35款插件:第29款插件:jquery.pngFix.js对IE6的PNG图片处理插件
- 使IE6支持PNG透明图片的JS插件
- 【jQuery】解决IE6下PNG图片不透明的问题
- pngfix 实现Png图片透明效果
- 解决IE6下PNG图片背景不透明的三种方法(CSS/JS/JQuery)
- HTML+CSS----IE6下背景透明实现-css/js--png图片
- 如何使png图片在ie6里实现透明背景
- IE6实现PNG图片透明
- IE6实现PNG图片透明
- IE6实现PNG图片透明
- 实现ie6的png图片透明的2种方法(二)
- ie6下png图片背景不透明的解决办法使用js实现
- png图片IE6下实现透明
- css:ie6底下png图片实现透明
- IE6实现PNG图片透明
- ie6实现png图片透明显示的方法
- IE PNG Fix—让IE6完美支持PNG透明图片的插件
- IE6中CSS方法实现PNG图片透明