Modify Calendar controls compatible with IE9, Google, and Firefox.
It can only be used. The location varies. I hope you can help me change it. Thank you.
I,
Copy codeThe Code is as follows:
This. iframe = window. frames ("meizzCalendarIframe ");
Change
Copy codeThe Code is as follows:
This. iframe = window. frames ["meizzCalendarIframe"];
II,
Copy codeThe Code is as follows:
Var a = (arguments. length = 0 )? WebCalendar. day [this. id. substr (8)]. split ("/"): arguments [0]. split ("/");
Change
Copy codeThe Code is as follows:
Var a = WebCalendar. day [this. id. substr (8)]. split ("/");
III,
Copy codeThe Code is as follows:
Function dayMouseOver ()
{
This. className = "over ";
This. style. backgroundColor = WebCalendar. darkColor;
If (WebCalendar. day [this. id. substr (8)]. split ("/") [1] = WebCalendar. thisMonth)
This. style. color = WebCalendar. lightColor;
}
Function dayMouseOut ()
{
This. className = "out"; var d = WebCalendar. day [this. id. substr (8)], a = d. split ("/");
This. style. removeattribute ("backgroundColor ");
If (a [1] = WebCalendar. thisMonth & d! = WebCalendar. today)
{
If (WebCalendar. dateStyle & a [0] = parseInt (WebCalendar. dateStyle [4], 10 ))
This. style. color = WebCalendar. lightColor;
This. style. color = WebCalendar. wordColor;
}
}
Change
Copy codeThe Code is as follows:
Var bgbgbg;
Function dayMouseOver ()
{
This. className = "over ";
Bgbgbg = this. style. backgroundColor;
This. style. backgroundColor = WebCalendar. darkColor;
If (WebCalendar. day [this. id. substr (8)]. split ("/") [1] = WebCalendar. thisMonth)
This. style. color = WebCalendar. lightColor;
}
Function dayMouseOut ()
{
This. className = "out"; var d = WebCalendar. day [this. id. substr (8)], a = d. split ("/");
This. style. backgroundColor = bgbgbg;
If (a [1] = WebCalendar. thisMonth & d! = WebCalendar. today)
{
If (WebCalendar. dateStyle & a [0] = parseInt (WebCalendar. dateStyle [4], 10 ))
This. style. color = WebCalendar. lightColor;
This. style. color = WebCalendar. wordColor;
}
}