Modify Calendar controls compatible with IE9, Google, and Firefox. It can only be used. The location varies. I hope some experts can help me change it. Thank you. 1. [javascript] this. iframewindow. frames (& quot; meizzCalendarIframe & quot;); change to [limit crip... modify Calendar controls compatible with IE9, Google, and Firefox. It can only be used. The location varies. I hope some experts can help me change it. Thank you. 1. [javascript] this. iframe = window. frames ("meizzCalendarIframe"); modify it to [javascript] this. iframe = window. frames ["meizzCalendarIframe"]; 2. [javascript] var a = (arguments. length = 0 )? WebCalendar. day [this. id. substr (8)]. split ("/"): arguments [0]. split ("/"); change to [javascript] var a = WebCalendar. day [this. id. substr (8)]. split ("/"); 3. [javascript] 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 dayMou SeOut () {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 ;}} changed to [javascript] 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 ;}}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.