iFixPng improved
- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://plugins.jquery.com/project/iFixPng2
软件介绍
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.
大型网站技术架构演进与性能优化
许令波 / 电子工业出版社 / 2018-6 / 79
《大型网站技术架构演进与性能优化》从一名亲历者的角度,阐述了一个网站在业务量飞速发展的过程中所遇到的技术转型等各种问题及解决思路。从技术发展上看,网站经历了Web应用系统从分布式、无线多端、中台到国际化的改造;在解决大流量问题的方向上,涉及了从端的优化到管道到服务端甚至到基础环境优化的各个层面。 《大型网站技术架构演进与性能优化》总结的宝贵经验教训可以帮助读者了解当网站遇到类似问题时,应如何......一起来看看 《大型网站技术架构演进与性能优化》 这本书的介绍吧!
