iFixPng improved

程序名称:iFixPng improved

iFixPng improved 介绍

This plugin is an improvement to the original iFixPng plugin. It may use some
more resources and work slower, but there are some important improvements:

  • The image or element with a background image doesn’t have to be visible.
  • background-position is now supported, including an IE absolute position fix. (bottom: -1px || bottom: 0px)

Update

  • Since 3.1.0 background-position in percentages is fully supported. See the demo page for a demonstration.

Any improvements to speed or functionality are welcome. For as long as IE6
will be around, we need to tackle this problem together.

The unfix method was removed.

Usage:

// Set the transparent pixel jQuery.ifixpng('/images/pixel.gif'); jQuery('img, .bgPng').ifixpng();

note! When using jquery versions older than 1.2.6, please make sure to use
the dimensions plugin, as the plugin relies on the outerWidth / outerHeight
methods.

Known issues:

  • Background-repeat is not supported.

iFixPng improved 官网

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

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...