1223湟里

& ltHTML & gt& ltHEAD & gt& ltTITLE & gt日历查询

& lt元宇宙

Content=“农历;公历;日历;节日;时区;节气;八字;主枝;十二生肖;阳历;中国农历;日历;”

name=keywords>。

& ltMETA content=All name=robots>。

& ltMETA content=“阳历和农历“

name=description>

& ltMETA t = 0;

var dStyle

document.onmousemove = mEvn

//显示详细的日期信息

函数mOvr(v ){

var s,节日;

var sObj = eval(‘SD‘+v);

var d = sobj . innerhtml-1;

//年,月,日,周,

//年,月,日,月,

//cYear,cMonth,cDay

if(sobj . innerhtml!='') {

sobj . style . cursor =‘s-resize‘;

if(CLD【d】。solarTerms = =““& amp;& ampCLD【d】solarFestival = =““& amp;& ampCLD【d】lunarFestival ==““)

festival =““;

其他

festival =‘& lt;表格宽度=100% BORDER=0单元格填充=2单元格间距= 0 BGCOLOR =“# CCFFCC“& gt;& ltTR & gt& ltTD & gt;‘+

& ltFONT COLOR =“# 000000“STYLE =“FONT-size:9pt& gt+CLD【d】。solarTerms+““+CLD【d】。solarFestival+““+CLD【d】。lunar festival+‘& lt;/FONT & gt;& lt/TD & gt;+

& lt/TR & gt;& lt/TABLE & gt;‘;

s =‘& lt;TABLE WIDTH =“130“BORDER = 0 cell padding =“2“CELLSPACING = 0 BGCOLOR =“# 000066“style =“filter:Alpha(opacity = 80)“& gt;& ltTR & gt& ltTD & gt;‘+

& lt表格宽度=100% BORDER=0单元格填充=0单元格间距= 0 & gt& ltTR & gt& ltTD ALIGN =“right“& gt。& ltFONT COLOR =“# ffffff“STYLE =“FONT-size:9pt& gt+

CLD【d】sYear+‘year‘+CLD【d】。s month+‘month‘+CLD【d】。sDay+‘day周+CLD。周+‘

& ltfont color =“violet“& gt。农历“+”(CLD【d】。islap?leap“:““)+CLD【d】。lMonth+“month“+CLD【d】。lDay+‘day& ltbr & gt+

& ltfont color =“yellow“& gt;‘+CLD【d】。cYear+‘Year‘+CLD【d】。cMonth+“月“+CLD【d】。cDay+‘Day《/font & gt;‘+

& lt/FONT & gt;& lt/TD & gt;& lt/TR & gt;& lt/TABLE & gt;‘+festival+‘& lt;/TD & gt;& lt/TR & gt;& lt/TABLE & gt;‘;

document . all【“detail“】。innerHTML = s;

if(snow = = 0 ){

d style . left = x+offsetx-(width/2);

d style . top = y+offsety;

d style . visibility =“visible“;

snow = 1;

}

}

}

//清除详细日期数据

函数mOut(){

if(CNT & gt;= 1){ SW = 0;}

if(SW = = 0){ snow = 0;d style . visibility =“hidden“;}

else cnt++;

}

//获取位置

函数mEvn(){

x = event.x

y = event.y

if(document . body . scroll left)

{ x = event . x+document . body . scroll left;y = event . y+document . body . scroll top;}

如果(雪)

d style . left = x+offsetx-(width/2);

d style . top = y+offsety;

}

}

///////////////////////////////////////////////////////////////////////////

函数changeTZ(){

CITY.innerHTML = CLD。tz . value . substr(6)

塞特库奇(“TZ”,CLD。TZ.selectedIndex)

}

函数tick(){

今日风险值

今天=新日期()

clock . innerhtml = today . tolocalestring()

clock 2 . innerhtml = time add(today . togmtstring(),CLD。TZ.value)

window . settimeout(“tick()“,1000);

}

函数setCookie(名称,值){

var today =新日期()

var过期=新日期()

expires . settime(today . gettime()+1000 * 60 * 60 * 24 * 365)

document . cookie = name+“=“+escape(value)+“;expires =“+expires . togmtstring()

}

函数get cookie(Name ){

var search = Name+“=“

if(document . cookie . length & gt;0) {

offset = document . cookie . index of(search)

if(offset!= -1) {

偏移量+= search.length

end = document . cookie . index of(“;“偏移)

if(end = =-1)end = document . cookie . length

返回unescape(document . cookie . substring(offset,end))