Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

IE7 Javascript Tool Turns Explorer into a Standards Compliant Browser

ie7.jpgDesigners and web programmers rejoice, Dean Edwards has updated his IE7 Javascript library to support Internet Explorer 7. IE7.js is a library of Javascript enhancements that turn Internet Explorer into a standards compliant browser, providing support for more CSS selectors and correcting some of Explorer’s erroneous rendering habits.

IE7, and the new IE8 script, attempt to make Internet Explorer behave like a standards-compliant browser and, perhaps most notable for the designers among us, the scripts add transparent PNG support for both IE5 and IE6.

The new IE7 script will “upgrade” IE 5 and 6 so they behave like IE7 and a new script, IE8, separates out those elements corrected in the real IE7 browser to upgrade IE versions 5-7 with advanced CSS features missing from IE7.

Also, as part of the new release, IE7.js has been moved to a new home on Google Code, which means you can hot-link the library directly from Google’s servers (although I was initially skeptical, several Google employees have chimed in to say the practice is perfectly fine by Google).

That means to use the new scripts all you need to do is add the following line to the head tags of your page:

<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/xx.x/IE8.js" type="text/javascript"></script>
<![endif]-->

Note that the xx bit needs to be replaced by an actual version number.

Given that the script weighs in at a mere 11KB (gzipped) this could be a viable way to solve some of your cross-browser design issues, though you should keep in mind that the IE7/8 scripts are a beta release. For a complete list of what IE7 and IE8 fix in Explorer, have a look at the notes on the Google Code project.

[via Simon Willison]

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year