Return to Snippet

Revision: 37544
at December 11, 2010 12:17 by polly42


Initial Code
(function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video".split(',');for(var i=0;i<e.length;i++){document.createElement(e[i])}})()

Initial URL
http://html5doctor.com/how-to-get-html5-working-in-ie-and-firefox-2/

Initial Description
JavaScript file that creates the HTML5 elements for IE8 and below (by Remy Sharp). Just call the file from the head of the html in a conditional comment [if lte IE 8].

Initial Title
Make IE understand html5

Initial Tags
javascript, html5

Initial Language
JavaScript