While analyzing the code of the next project inside the
head
tag I came across an interesting code:
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta3)/IE9.js"></script>
<![endif]-->
Only one word "IE9" I was embarrassed. The first thing that occurred to me was that using this .js code, browsers under the sad stigma of Internet Explorer can be made to work using the properties of promising IE9. Most of all, I expected that CSS3.0 properties would be available, but it was not there!
The first Google request brought me
here . From the first lines it became clear that this is
“aspirin” for web designers . I think that now is the time to stop pouring water and jump right off the bat.
In short, what a headache does this library save us:
- min-width (height)
- PNG transparency
- opacity
- Selectors and pseudo-classes:
- :: after, :: before;
-: first-child,: last-child;
- [attr = "value"]; - .multiple.classes
- ...
Just take a
look and test the demo page , personally my throat was dry and I had to pinch myself to make sure that everything was fine with me and what I see was real.
')
After all these examples I tested in the IE emulator since version 5.5 it seemed to breathe the air easier. True
PNG Alpha transparency test made IE5.5 go to nirvana, but it didn’t make me regret that I spent my valuable time studying this library.
I believe that the development of Dean Edwards'a will bring many benefits.
PS: I do not advise newbies to use this thing if you do not understand where and when these bugs come from and how to solve them with the help of your pens. I'm just 100% sure that not all projects will be able to use this library ... Some clients at this moment will be equal, and others will not be satisfied.
IE7.js project home pageDemo