摘要: 1.table(基础) 基本表格 2.table-striped(基于table) 斑马线效果 3.table-bordered(基于table) 带边框 4.table-hover(基于table) 悬停实现背景效果 5.状态类(运用于tr) 5-1 .active 5-2 .success 5- 阅读全文
posted @ 2016-03-22 23:25 GacentJohn 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 原型链继承: 父类:也称超类型 子类:称子类型 先写三个函数: 下面是继承: 其实最主要的一句话是:Desk.prototype=new Box()和Table.prototype=new Desk();这两句是实现原型链的关键。 解答:超类型实例化之后的对象实例复制给子类型的原型属性;new Bo 阅读全文
posted @ 2016-03-22 15:43 GacentJohn 阅读(107) 评论(0) 推荐(0) 编辑