微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

IE PNG Fix ExamplesOptions

程序名称:IE PNG Fix ExamplesOptions

授权协议: 未知

操作系统: 跨平台

开发语言: JavaScript

IE PNG Fix ExamplesOptions 介绍

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 @R_905_4045@ion 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 @R_905_4045@ion visit Campbells Digital
Soup

IE PNG Fix ExamplesOptions 官网

http://plugins.jquery.com/project/iepngfix

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐