会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
moux
博客园
首页
新随笔
联系
管理
上一页
1
2
3
2015年7月11日
测试RegExp对象的属性
摘要: //测试RegExp对象的属性function testRegExpProperty(){ var regexp = /abc/; //regexp.ignoreCase = true; //无效 console.log(regexp.ignoreCase); console.log(regexp...
阅读全文
posted @ 2015-07-11 00:32 moux
阅读(168)
评论(0)
推荐(0)
2015年7月10日
JS-商品图片点击轮换
摘要: //小图预览区域图片轮换键const LIWIDTH=62;var moveCount=0;document.getElementById("btForward").onclick=function(){ if(this.className=="forward_disabled"){ return...
阅读全文
posted @ 2015-07-10 23:03 moux
阅读(682)
评论(0)
推荐(0)
JS-商品图片放大器
摘要: //给mask添加事件,让其随着鼠标移动 superMask.onmousemove=function(){ var left=event.offsetX-175/2; left=left>0?left:0; left=left0?top:0; top=top<175?top:175; mask.s...
阅读全文
posted @ 2015-07-10 23:02 moux
阅读(358)
评论(0)
推荐(0)
笔记-赋值与运算的顺序
摘要: var i=1;i=i++;alert(i);为什么i=1?------------------------------------------------------------------------------------------------------------------------...
阅读全文
posted @ 2015-07-10 22:51 moux
阅读(358)
评论(0)
推荐(0)
上一页
1
2
3
公告