随笔分类 -  HTML5

HTML5
摘要:Having thrust myself into the world of JavaScript and JavaScript Libraries, I've often wondered:When are browser vendors going to see the helper methods/libraries created by the JavaScript toolkits and implement these functionalities natively within the browser?I realize that standards are impor 阅读全文
posted @ 2013-11-02 12:03 iRavior 阅读(196) 评论(0) 推荐(0)
摘要:HTML5提供了classList API,除了IE和Safria浏览器外,Chrome和Firefox都已经支持该API。该API提供了一下属性和方法:DOM对象classList属性为我们更好的操作class提供了便利,相对之前className属性,我们可以更加随意地去操控class,为我们编写高质量前端代码提供了捷径。相关连接:http://www.jsmix.com/blog/html5/classlist-in-html5.html,里面有比较详细的实例和讲解。 阅读全文
posted @ 2012-11-29 11:37 iRavior 阅读(200) 评论(0) 推荐(0)