04 2012 档案
摘要:quarkjs 地址:https://github.com/quark-dev-team/quarkjsmelonjs 地址:http://www.melonjs.org/EaselJS 地址:http://createjs.com/#!/EaselJSgamequeryjs 地址:http://gamequeryjs.com/
阅读全文
摘要:<span style="cursor:hand">手形</span> <span style="cursor:crosshair">十字</span> <span style="cursor:text" >文本光标</span> <span style="cursor:wait" >等待</span> <span style="cursor:default" >默认</span&g
阅读全文
摘要:hand 手型crosshair 十字text 文本wait 等待help 问号e-resize 右的箭头ne-resize 右上的箭头n-resize 上的箭头nw-resize 左上的箭头w-resize 左的箭头sw-resize 左下的箭头s-resize 下的箭头se-resize 右下的箭头move 移动
阅读全文
摘要:Web Workers使得html5也可以使用类似后台异步化、线程化的操作,让假死、卡不再存在,非常适合httpreqeust/io等操作。worker使用postMessage方法,发送请求,在处理时再通过postMessage返回给消息给创建者,它的onmessage方法会捕获进行处理// 声明var worker=newWorker("worker.js");// 发送消息worker.postMessage(str); // 返回worker.onmessage=function(evt){ alert(evt.data);}// 异常worker.onerror=
阅读全文
摘要:DateTime dt = DateTime.Now; // 当月的第一天 0点 DateTime dtMonth = dt.AddDays(1 - dt.Day).AddHours(-dt.Hour).AddMinutes(-dt.Minute).AddSeconds(-dt.Second); // 当周的周一 0点 DateTime dtWeek = dt.AddDays(1 - dt.DayOfWeek == DayOfWeek.Sunday ? 7 : dt.DayOfWeek.GetHashCode()).AddHours(-dt.Hour).AddMinutes(-dt.Minut
阅读全文

浙公网安备 33010602011771号