2010年6月30日
摘要: function begin(drag){ var x=event.clientX-parseInt(drag.style.left); var y=event.clientY-parseInt(drag.style.top); document.attachEvent("onmousemove",move); document.attachEvent("onmouseup",getup) fun... 阅读全文
posted @ 2010-06-30 10:48 刘卿 阅读(196) 评论(0) 推荐(0) 编辑
摘要: var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMonth = now.getMonth(); //当前月 var nowYear = now.getYear(); //当前年 nowYear += (nowYear &... 阅读全文
posted @ 2010-06-30 10:16 刘卿 阅读(340) 评论(0) 推荐(0) 编辑