IE PNG Fix

码农软件 · 软件分类 · jQuery图像处理 · 2019-12-26 22:13:40

软件介绍

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

本文地址:https://codercto.com/soft/d/22029.html

计算机图形学与几何造型导论

计算机图形学与几何造型导论

戈德曼 / 邓建松 / 2011-9 / 69.00元

《世界著名计算机教材精选:计算机图形学与几何造型导论》是世界著名计算机教材精选之一。《世界著名计算机教材精选:计算机图形学与几何造型导论》共四部分三十章节,内容包括乌龟绘图,应用递归乌龟程序生成分形,分形的奇特性质,仿射变换,仿射几何:二维计算机图形学的连点过程,应用迭代函数系统生成分形,不动点定理及其推论,递归乌龟程序与共形迭代函数系统等。《世界著名计算机教材精选:计算机图形学与几何造型导论》可......一起来看看 《计算机图形学与几何造型导论》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

MD5 加密
MD5 加密

MD5 加密工具