ie7.js is a javascript that standardises IE browser.
The original usage code
[code=html]<!–[if lt IE 7]>
<script src=”http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js” type=”text/javascript”></script>
<![endif]–>
How do i insert it dynamically with the Internet Explorer conditional comment into a html file with javascript ?
The code below actually works but I just do not know how to insert the internet explorer conditional comment
[CODE]window.onload=function(){
var script=document.createElement(‘script’);
script.type=”text/javascript”;
script.src=”http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js”;
var head=document.getElementsByTagName(‘head’);
head[0].appendChild(script);
}