IE9, Google 및 Firefox와 호환되도록 Calendar 달력 컨트롤을 수정합니다.
그냥 작동하지만 위치가 다릅니다. 누군가 도와주셨으면 좋겠습니다.
this.iframe = window.frames("meizzCalendarIframe")
은
this.iframe = window.frames["meizzCalendarIframe"]
2.
var a = (arguments.length= =0) ? WebCalendar.day[this.id.substr(8)].split("/") : 인수[0].split("/"); 🎜>
이
코드 복사
코드 복사
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] == parsInt(WebCalendar.dateStyle[4], 10))
this.style.color = WebCalendar.lightColor
this.style.color = WebCalendar.wordColor;
}
}
수정됨
코드 복사
{
this.className = "over"
bgbgbg=this.style.backColor; ;
this.style.backColor = 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] == parsInt(WebCalendar .dateStyle[4], 10))
this.style.color = WebCalendar.lightColor
this.style.color; = WebCalendar.wordColor
}
}