From LifeType Wiki
Contents |
Introduction
IE7 is not the upcomming new version of Microsoft's Internet Explorer, but a project by Dean Edwards to make IE6 more standards compliant. It's aim is to translate CSS2 and CSS3 tags, which IE6 does not understand or fails to display properly, by including the IE7 JavaScript application into web pages. By using IE7 in your LifeType templates you won't have to write bad CSS hacks to achive properly displayed pages in Internet Explorer anymore.
Using IE7 in LifeType
Since LifeType 1.0 IE7 is included and updated with every new release of LifeType. It's easy to use IE7 in your template! All you need to do is include the ie7-standard.js (or ie7-standard-p.js for LifeType 1.0.2 and above) in your header.template file (preferably between </head> and <body>):
[...]
</head>
<!-- compliance patch for microsoft browsers -->
<!--[if lt IE 7]>
<script src="{$url->getUrl("/")}js/ie7/ie7-standard.js" type="text/javascript">
</script>
<![endif]-->
<body>
[...]
As you may have noticed we use conditional comments, a proprietary Microsoft feature. This way only Microsofts browsers will include the script, other browser ignore the linked script and thus will not download it.
Changes for LifeType 1.0.2 and above
Due to changes in IE7 the standard file to include is now ie-standard-p.js. Please update templates to:
[...]
</head>
<!-- compliance patch for microsoft browsers -->
<!--[if lt IE 7]>
<script src="{$url->getUrl("/")}js/ie7/ie7-standard-p.js" type="text/javascript">
</script>
<![endif]-->
<body>
[...]
Further Reading
Please visit Dean Edwards pages for further documentation and further configuration of IE7.
