Skip to content →

ie7-js

About

IE7 is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6.

Status

Current version: 2.0 beta 3.

Usage

IE7.js

Upgrade MSIE5-6 to be compatible with MSIE7.

<!–[if lt IE 7]>
<script src=”http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js” type=”text/javascript”></script>
<![endif]–>

IE8.js

Upgrade MSIE5-7 with advanced CSS features missing from MSIE7.

<!–[if lt IE 8]>
<script src=”http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js” type=”text/javascript”></script>
<![endif]–>

You do not need to include IE7.js if you are using IE8.js

PNG

The script only fixes images named: *-trans.png

Unfortunately, the transparent background image cannot be tiled (repeated) using background-repeat. Nor can it be positioned using background-position.

Download

You may link directly to these files if you wish:

http://ie7-js.googlecode.com/svn/version/

Or go to the downloads section to download the current version.

Demo

http://ie7-js.googlecode.com/svn/test/index.html

Published in 笔记

Comments

发表评论