You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
1.0 KiB
16 lines
1.0 KiB
//调用方法:onclick="return Calendar('输入框ID');"
|
|
var MonthDNum=new Array(0,31,28,31,30,31,30,31,31,30,31,30,31);
|
|
var MonthText=new Array("","一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月");
|
|
var Calendar_obj,Calendar_obj2;
|
|
//var WriteHead=1;
|
|
|
|
document.write('<iframe style="position:absolute;width:206px;display:none;" name="divCalendar" id="divCalendar" frameborder="0" scrolling="no"></iframe>')
|
|
|
|
/*头部信息CSS及JS函数*/
|
|
var HeadMsg='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'+
|
|
'<html xmlns="http://www.w3.org/1999/xhtml">'+
|
|
'<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css"><!--'+
|
|
'body,html{margin:0px;height:100%;background:#FFF;}a,li,input {font-family:"Verdana","Arial";font-size:12px;}'+
|
|
'a {height:18px;color:#000;padding-top:2px;text-decoration:none;display:block;}'+
|
|
'a:hover{height:17px;padding-top:1px;border:1px solid #000;background:#FFF;}'+
|