Traditional Culture Encyclopedia - Almanac inquiry - 1220 calendar

1220 calendar

& lt html & gt< head & gt< title & gt calendar query.

& lt meta-universe

Content= "Lunar calendar; Gregorian calendar; Calendar; Festivals; Time zone; Solar terms; Eight characters; Main branch; Zodiac; Gregorian calendar; China lunar calendar; Calendar; "

name=keywords>。

& ltMETA content=All name=robots>。

& ltMETA content= "solar calendar and lunar calendar"

name=description>

& ltMETA t = 0;

var dStyle

document.onmousemove = mEvn

//Display detailed date information.

Function mOvr(v ){ (

Var s, festivals;

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

var d = sobj . innerhtml- 1;

//year, month, day, week,

//year, month, day, month,

//cYear,cMonth,cDay

if(sobj . innerhtml! ='') {

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

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

festival =““;

other

festival =‘& lt; Table width = 100% BORDER=0 cell filling =2 cell spacing = 0bgcolor = "# ccfcc" > & 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 table width = 100% BORDER=0 cell filling =0 cell spacing = 0> & lttr & gt & lttdalign = "right">. & ltFONT COLOR =“# ffffff“STYLE =“FONT-size:9pt& gt+

CLD【d】sYear+‘year‘+CLD【d】。 s month+‘month‘+CLD【d】。 Sday+'day week +CLD. Zhou+'

& ltfont color =“violet“& gt。 Lunar calendar "+"(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+ "month"+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;

}

}

}

//Clear detailed date data

Function mOut(){

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

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

else cnt++;

}

//Get location

Function 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; }

If (snow)

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

d style . top = y+offsety;

}

}

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

Function changeTZ(){

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

Setkuchi ("TZ", CLD. TZ.selectedIndex)

}

Function tick(){

Today's risk value

Today = New Date ()

clock . innerhtml = today . tolocalestring()

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

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

}

Function setCookie (name, value) (

Var today = new date ()

Var Expired = New Date ()

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

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

}

Function get cookie(Name ){

var search = Name+“=“

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

offset = document . cookie . index of(search)

if(offset! = - 1) {

Offset+= search.length.

end = document . cookie . index of(“; "offset)

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

Returns UNESCAPE (document.cookie.substring (offset, end)).