会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Stay foolish, stay hungry!
To change ! To do ! To realize !
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
23
下一页
2016年1月24日
201601241116_《Javascript优化(css,dom,loop)》
摘要: 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)
2016年1月4日
201601041244_《Javascript操作link等(兼容写法)》
摘要: var link = document.getElementsByTagName('link')[0];var sheet = link.sheet || link.styleSheet; //兼容ie
阅读全文
posted @ 2016-01-04 12:46 Coca-code
阅读(182)
评论(0)
推荐(0)
2015年12月12日
201512122009_《JavaScript——样式操作(float)》
摘要: 对于非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)
2015年11月14日
201511141852-《NserviceBus》
摘要: Nservicebus
阅读全文
posted @ 2015-11-14 18:53 Coca-code
阅读(151)
评论(0)
推荐(0)
2015年11月4日
201511042030_《JavaScript——DOM 》
摘要:
阅读全文
posted @ 2015-11-04 20:32 Coca-code
阅读(131)
评论(0)
推荐(0)
201511041227_《JavaScript——动态原型对象(优化写法)》
摘要: 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)
2015年10月25日
201510252245_《css——字间距》
摘要: letter-spacing:1px;
阅读全文
posted @ 2015-10-25 22:47 Coca-code
阅读(148)
评论(0)
推荐(0)
201510251025_《Javascript权威指南(第六版)——用正则模式匹配、》(P252-)
摘要: 1. 正则表达式——处理字符模式的对象;2.
阅读全文
posted @ 2015-10-25 12:43 Coca-code
阅读(152)
评论(0)
推荐(0)
201510250817_《Javascript权威指南(第六版)——属性描述符、模块、命名空间对象、私有空间命名的函数》(P244-252)
摘要: 一. js中共6个属性描述符1. value2. writable3. configurable //定义是否可以删除4. enumerable //是否可以迭代(遍历打印)5. get6. set-------------------------------------------------...
阅读全文
posted @ 2015-10-25 10:41 Coca-code
阅读(120)
评论(0)
推荐(0)
2015年10月23日
201510232239_《Javascript权威指南(第六版)——不污染js(不可扩展和不可配置)、》(P243-244)
摘要: 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
下一页
公告