上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页
摘要: css:oEl.style.cssText = "border-left:1px solid red";dom:1. document.createDocumentFragment();2. var newDOM = oldDOM.cloneNode(true); oldDOM.parentNod... 阅读全文
posted @ 2016-01-24 12:02 Coca-code 阅读(129) 评论(0) 推荐(0)
摘要: var link = document.getElementsByTagName('link')[0];var sheet = link.sheet || link.styleSheet; //兼容ie 阅读全文
posted @ 2016-01-04 12:46 Coca-code 阅读(182) 评论(0) 推荐(0)
摘要: 对于非IE:ele.style.cssFloat //right对于IE(6+)“ele.style.styleFloat //right-----------------------------------------------------具体运用:(ele.style.cssFloat ||... 阅读全文
posted @ 2015-12-12 20:14 Coca-code 阅读(152) 评论(0) 推荐(0)
摘要: Nservicebus 阅读全文
posted @ 2015-11-14 18:53 Coca-code 阅读(151) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-11-04 20:32 Coca-code 阅读(131) 评论(0) 推荐(0)
摘要: function Person(userName ,age){ this.userName = userName ; this.age = age; this.family = ['爸爸','妈妈','姐姐','老婆']; if(typeof this.say !== 'function'){ Pe 阅读全文
posted @ 2015-11-04 12:30 Coca-code 阅读(156) 评论(0) 推荐(0)
摘要: letter-spacing:1px; 阅读全文
posted @ 2015-10-25 22:47 Coca-code 阅读(148) 评论(0) 推荐(0)
摘要: 1. 正则表达式——处理字符模式的对象;2. 阅读全文
posted @ 2015-10-25 12:43 Coca-code 阅读(152) 评论(0) 推荐(0)
摘要: 一. js中共6个属性描述符1. value2. writable3. configurable //定义是否可以删除4. enumerable //是否可以迭代(遍历打印)5. get6. set-------------------------------------------------... 阅读全文
posted @ 2015-10-25 10:41 Coca-code 阅读(120) 评论(0) 推荐(0)
摘要: 1./***********************************我们通常可以对类的原型添加方法,以此:*达到扩展的目的,现在要禁止这种扩展。只*需Object.preventExtentions();***********************************/Object.p... 阅读全文
posted @ 2015-10-23 23:18 Coca-code 阅读(307) 评论(1) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页