1224湟里
& lt元宇宙
Content= "农历;公历;日历;节日;时区;节气;八字;主枝;十二生肖;阳历;中国农历;日历;”
name = keywords & gt
& ltMETA content = All name = robots & gt
& ltMETA content= "阳历和农历"
name = description & gt
& ltMETA t = 0;
var dStyle
document.onmousemove = mEvn
//显示详细的日期信息
函数mOvr(v) {
var s,节日;
var sObj = eval(' SD '+v);
var d = sobj . innerhtml-1;
//年,月,日,周,
//lYear,lMonth,lDay,isLeap,
//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 cell padding = 2 cell spacing = 0 BGCOLOR = " # CCFFCC " & gt;& ltTR & gt& lt“TD & 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 = ' & ltTABLE WIDTH = " 130 " BORDER = 0 cell padding = " 2 " CELLSPACING = 0 BGCOLOR = " # 000066 " style = " filter:Alpha(opacity = 80)" & gt;& ltTR & gt& lt“TD & gt”+
& lt表格宽度=100% BORDER=0单元格填充=0单元格间距= 0 & gt& ltTR & gt& ltTD ALIGN="right " >& ltFONT COLOR = " # ffffff " STYLE = " FONT-size:9pt;"& gt+
Cld[d]。sYear+' year' +cld[d]。sMonth+' month' +cld[d]。sDay+'日< br & gt周'+CLD [d]。星期+'
& ltfont color="violet " >农历'+(CLD [d]。islap?Leap':'') +cld[d]。lMonth+' month' +cld[d]。lDay+' day
& ltfont color="yellow " >+cld[d]。cYear+' Year' +cld[d]。cMonth+' Month' +cld[d]。cDay+'天
& 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) {
dStyle.left = x+offsetx-(宽度/2);
d style . top = y+offsety;
dStyle.visibility = " visible
雪= 1;
}
}
}
//清除详细日期数据
函数mOut() {
if(CNT & gt;= 1){ SW = 0;}
if(SW = = 0){ snow = 0;dStyle.visibility = " hidden}
else cnt++;
}
//获取位置
函数mEvn() {
x = event.x
y = event.y
if (document.body.scrollLeft)
{ x = event . x+document . body . scroll left;y = event . y+document . body . scroll top;}
如果(雪){
dStyle.left = x+offsetx-(宽度/2);
d style . top = y+offsety;
}
}
///////////////////////////////////////////////////////////////////////////
函数changeTZ() {
CITY.innerHTML = CLD。TZ.value.substr(6)
塞特库奇(“TZ”,CLD。TZ.selectedIndex)
}
函数tick() {
今日var
今天=新日期()
clock . innerhtml = today . tolocalestring()
clock 2 . innerhtml = time add(today . togmtstring(),CLD。TZ.value)
window.setTimeout("tick()",1000);
}
函数setCookie(名称,值){
var today =新日期()
var expires =新日期()
expires . settime(today . gettime()+1000 * 60 * 60 * 24 * 365)
document . cookie = name+" = "+escape(value)+";expires=" + expires.toGMTString()
}
函数getCookie(Name) {
var search = Name + "= "
if(document . cookie . length & gt;0) {
offset = document . cookie . index of(search)
如果(offset!= -1) {
偏移量+=搜索长度
end = document . cookie . index of(";"偏移)
if(end = =-1)end = document . cookie . length
返回unescape(document . cookie . substring(offset,end))