IE PNG Fix
- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://plugins.jquery.com/project/iepngfix
软件介绍
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
七周七语言(卷2)
【美】Bruce A. Tate(泰特)、Fred Daoud(达乌德)、Ian Dees(迪斯) / 7ML翻译组 / 人民邮电出版社 / 2016-12 / 59
深入研习对未来编程具有重要意义的7种语言 Lua、Factor、Elixir、Elm、Julia、Idris和MiniKanren 本书带领读者认识和学习7种编程语言,旨在帮助读者探索更为强大的编程工具。 本书延续了同系列的畅销书《七周七语言》《七周七数据库》和《七周七Web开发框架》的体例和风格。 全书共8章,前7章介绍了Lua、Factor、Elm、Elixir、Jul......一起来看看 《七周七语言(卷2)》 这本书的介绍吧!