The code is as follows:
.body, td {
Font-Family: "arial";
FONT-SIZE: 8PT;
Color: # 000000;
}
.Tout {
Background: #dddddd;
HEIGHT: 26;
Border: 1 Solid # 999999;
Border-top-color: # f4f4f4;
Border-left-color: # f4f4f4;
}
.Tdover {
Background: #eeeee;
HEIGHT: 20;
Border: 1 Solid #ffffffff;
Border-top-color: # 9c9c9c;
Border-left-color: # 9c9c9c;
}
.Tdout {
Background: #eeeee;
HEIGHT: 20;
Border: 1 Solid # 9c9c9c;
Border-top-color: #ffffff;
Border-left-color: #ffffff;
}
style>
/ ************************************************** *********
Mini calendar version 1.0 version
The function TableFunction provides the following methods and properties:
1.GetdateStr ()
Returns an array of the date of the specified annual month, including empty characters.
parameter:
Y is the year
m is the month
Call mode: TableFunction (). GetDatestr (year, month)
2.Gettablestr ()
Returns the formatted form that specifies the annual month
parameter:
Y is the year
m is the month
Calling mode: TableFunction (). GetTablestr (Year, Month)
3.writeselect ()
Return to the annual selection box
parameter:
Obj means a container that needs to be added to the selection box
Values refers to projects that need to be highlighted
Action refers to the parameters, with the parameter y, is the annual selection box, bring the parameter M indicating a monthly selection box.
Getobj refers to an event triggered on which control, which triggered for a non-current selection box.
FALSE triggers the current selection box
Call mode: TableFunction (). WriteSelect (Obj, value, action, getobj)
4.RewriteTablestr ()
Reset rewriting date
parameter:
Y is the year
m is the month
Call mode: TableFunction (). RewriteTablestr (Year, Month)
5.jumptorun ()
Change in the left and right control form
parameter:
Action Represents the calendar or back
Call mode: TableFunction (). Jumptorun (action)
6.alertday ()
Tips the date of the current click
parameter:
no
Call mode: TableFunction (). Alertday ()
*********************************************************** ******* /
Function TableFunction () {
THIS.GETDATESTR = Function (Y, m) {
THIS.DAYARRAY = [];
For (var i = 0; i <42; i ) this.dayarray [i] = ""
For (var i = 0; i Return this.dayarray; } THIS.GETTABLESTR = Function (Y, M) { THIS.DATEARRAY = ["Japan", "One", "Two", "Three", "Four", "Five", "Six"]; this.dstr = "