.Front-End {
Life: Colourful;
Work: Successful;
Love: Sweet;
Family: Healthy;
}

下面是引用Google的html5.js文件,好处就不说了:

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

当然,你也可以把代码拿出来自己看着办:

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

###兼容IE浏览器所使用到的工具

html5.js让IE(包括IE6)支持HTML5元素方法

http://html5shiv.googlecode.com/svn/trunk/html5.js

Upgrade MSIE5.5-8 to be compatible with modern browsers.

https://code.google.com/p/ie7-js

旧版本的IE浏览器支持CSS3 media queries

https://code.google.com/p/css3-mediaqueries-js

CSS3 selectors for IE,让IE6/7/8支持CSS3选择器

http://selectivizr.com

为jQuery添加统一的CSS3方法的插件

https://code.google.com/p/jquerycss3

让IE6/7/8支持CSS3

http://css3pie.com

Published by wkylin 06 August 2011

blog comments powered by Disqus