Traditional Culture Encyclopedia - Almanac inquiry - VB master editing electronic calendar program source code.
VB master editing electronic calendar program source code.
Provide reference
-
& lt! DOCTYPE HTML PUBLIC“-//W3C//DTD HTML 4.0 Transitional//EN“& gt;
& lt html & gt< head & gt< title & gt utility query-calendar
& 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 =“# CEE 5ff“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 =“# 000000“STYLE =“FONT-size:9pt& gt+
CLD【d】sYear+‘year‘+CLD【d】。 s month+‘month‘+CLD【d】。 Sday+'day week +CLD. Zhou+'
& ltfont color =“# aa 04 AC“& gt。 Lunar calendar "+"(CLD [d]. islap? leap“:““)+CLD【d】。 lMonth+“month“+CLD【d】。 lDay+‘day& ltbr & gt+
& ltfont color =“# 03 18DC“& 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 initialization () {
//lunar calendar
dStyle = detail.style
CLD。 sy . selectedindex = tY- 1900;
CLD。 SM.selectedIndex = tM
draw CLD(tY,tM);
}
//--& gt;
& lt/SCRIPT & gt;
& ltSTYLE type=text/css>。 TD {
FONT-SIZE: 12px; Color: #565656
}
P {
FONT-SIZE: 12px; Color: #565656
}
Li (
FONT-SIZE: 12px; Color: #565656
}
Select {
FONT-SIZE: 12px; Color: #565656
}
Enter {
FONT-SIZE: 12px; Color: #565656
}
Text area {
FONT-SIZE: 12px; Color: #565656
}
. f 14 {
FONT-SIZE: 14px
}
. todyaColor {
Background color: light green
}
& lt/STYLE & gt;
& ltMETA content =“Microsoft front page 4.0“name = GENERATOR & gt。 & lt/HEAD & gt;
& ltBODY bgColor = # 7 fbbff top margin = 5 onload = initialize()margin height =“5“& gt。
& lt scripting language = JavaScript & gt& lt! -
if(navigator . appname = =“Netscape“| | parse int(navigator . appversion)& lt; 4)
document . write(“& lt; H 1 Your browser cannot execute this program. & lt/h 1 & gt; This program can only be executed after IE4! ! ")
//--& gt; & lt/SCRIPT & gt;
& lt form name = CLD>;;
& ltDIV id = details
Style = "z index: 3; Filter: shadow (color=#333333, direction =135); Width:140px; Location: absolute; Height:120px ""; & lt/DIV & gt;
& lt center & gt
& lt Table Cell Spacing =0 Cell Filling =0 Width = 464 border = 0>
& ltTBODY & gt
& ltTR & gt
& ltTD height=36>。 & ltIMG height = 36 src = "images/ca 01.gif"
width = 463 & gt& lt/TD & gt; & lt/TR & gt; & lt/TBODY & gt; & lt/TABLE & gt;
& lt Table Cell Spacing =0 Cell Filling =0 Width = 464 border = 0>
& ltTBODY & gt
& ltTR & gt
& ltTD align = middle background = images/ca02 . gif & gt。 & lt! -& lt; Divstyle = "z index:1; Position: absolutely
- Previous article:1995 zodiac auspicious day
- Next article:Today's Gregorian calendar 2345 practical query
- Related articles
- I dreamed that there was a lot of blood on my hands.
- What do you mean by heavy?
- List of auspicious days to break ground in June 5438+065438+ 10, 2022
- Choosing a date to enter the house in 20221February is the most auspicious day for tiger people to live in new houses?
- In the fourth grade, I wrote "The Color of Childhood" in 400 words.
- Is June 2020 10 suitable for moving?
- I dreamed that I was the penultimate sign in my class.
- What festival is July 28th in Gregorian calendar? July 28th, 2020 is World Hepatitis Day.
- What jobs can American LLM students find?
- Dreaming that someone is holding a baby is a sign.