教程集 www.jiaochengji.com
教程集 >  jQuery  >  jQuery 插件  >  正文 IE PNG Fix

IE PNG Fix

发布时间:2014-05-23   编辑:jiaochengji.com
The PNG Fix jQuery plug-in was developed to create a quick-and-easy fix for the PNG transparency issue in Internet Explorer 6. It's partially based on Angus Turnbulls TwinHelix fix, but aims to remove un-needed HTTP requests, demanded by an .htc CSS
The PNG Fix jquery plug-in was developed to create a quick-and-easy fix for the PNG transparency issue in Internet Explorer 6. It's partially based on Angus Turnbulls TwinHelix fix, but aims to remove un-needed HTTP requests, demanded by an .htc CSS behaviour() based solution. Please note, repeatable backgrounds are still not fully supported at this time. The IE AlphaImage filter is restricted to scaling backgrounds, rather than repeating (or tiling). For full API information visit Campbells Digital Soup Examples To apply the fix to all images within the page:   jQuery(function($) {
    $("img").pngfix();
});   A more efficient approach would be to apply it to all image elements that reference PNGs, or directly via IDs.   jQuery(function($) {
    $("img[@src$=png], #image-one, #image-two").pngfix();
});     Options There is currently only one option for this plug-in: repeatMethod Choose between the three options for background scaling (inline with the MSDN guidance for the AlphaLoader filter: Crop: renders the image at initial size. Scale: stretches the image to the size of applied element. For full API information visit Campbells Digital Soup

您可能感兴趣的文章:
IE PNG Fix
Window Resize Fix for IE
电脑打开IE提示此网页未响应 windows正在检查问题的解决方案
pngFix
在IE8打开的网页中点击链接时没有任何反应
ie浏览器的后退键失效修复方法
ie浏览器中点击链接无法打开怎么办
基于jquery的jqDnR拖拽溢出的修改
纯CSS导航条下拉菜单代码
纯css div 变化背景导般菜单代码

[关闭]
~ ~