![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS
文章平均质量分 75
smamqm
这个作者很懒,什么都没留下…
展开
-
JS中的继承
JS中的继承分为四种实现方式:1、对象冒充 2、cal方法 3、 apply方法 4、原型链。 下面我们分别距离来说明这四种方法: 1、对象冒充。 function teacher(name){//定义一个所谓的"父类" this.name = name; //属性 this.teach = function()原创 2012-08-14 00:32:09 · 280 阅读 · 0 评论 -
googleEye 的简单实现
googleEye 简单实现 googleeyel.html body{ width:100%; height:100%; } div { float: left; } .layer { background: url(image/da.jpg) no-repeat; width: 303px;原创 2012-08-20 03:10:33 · 601 阅读 · 0 评论