摘要: var get = { byId: function(id) { return typeof id "string" ? document.getElementById(id) : id; }, byClass: function(sClass, oParent) { var aClass = [] 阅读全文
posted @ 2016-12-01 03:21 Web前端攻城 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 整理JS的基础知识,练习JS面向对象编程 框架设计思路: 1. 选择器 2. DOM操作 3. 事件模块 4. 属性模块 5. 样式模块 6. 动画模块 7. 框架整合 阅读全文
posted @ 2016-12-01 01:51 Web前端攻城 阅读(271) 评论(0) 推荐(0) 编辑