Adds a small amount of code to the page so that HTML5 output will work correctly in IE. This is a 100% copy of Remy Sharp's 2009 blog post.

Installation

Install the module in the usual way:

  • Add it to sites/all/modules or sites/all/modules/contrib.
  • Enable it via Drush or the admin/modules page.

There are no configuration options, no permissions, nothing. :)

Once the module is enabled the following will be added to the top of ever page:

<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

That's it!

Rationale

This module was built as older versions of Internet Explorer do not support the HTML5 tags that are now in use by many themes, e.g. Omega, Boron, Panels_960gs, etc.

Author

Created by Damien McKenna for Bluespark Labs based entirely on Remy Sharp's code, so all thanks go to Remy for putting the script together.

Project Information

Downloads