摘要:
var MonthDNum=new Array(0,31,28,31,30,31,30,31,31,30,31,30,31);var MonthText=new Array("","一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月");var Calendar_obj, 阅读全文
摘要:
js代码块var xmlRequest;function getXMLRequestObject() { if (window.XMLHttpRequest) { //针对FireFox,Mozillar,opera,safari,IE7,IE8 xmlRequest = new XMLHttpRequest(); //针对某些特定版本的mozillar浏览器的bug修正 if (xmlRequest.overrideMimeType) { xmlRequest.overrideMimeType("text/xml") } } else if (window.ActiveX 阅读全文
摘要:
function PopBubble(caption, content, see,action) { this.content = content; this.caption = caption; this.see = see; this.action=action; this.width = 250; this.height = 165; this.timeout = 500; this.speed = 15; this.step = 2; this.right = screen.width - 18; this.bottom = screen.height; this.left = th. 阅读全文
摘要:
var myDate=new Date();var str="yyyy-MM-dd"; str=str.replace(/yyyy|YYYY/,myDate.getFullYear()); str=str.replace(/MM/,parseInt(myDate.getMonth())+1>9?(parseInt(myDate.getMonth())+1).toString():"0" + (parseInt(myDate.getMonth())+1).toString()); str=str.replace(/dd|DD/,myDate.getD 阅读全文