IE9/Google/Firefox_javascript スキルと互換性があるように js Calendar カレンダー コントロールを変更します。

WBOY
リリース: 2016-05-16 17:44:28
オリジナル
1348 人が閲覧しました

IE9、Google、Firefox と互換性があるように Calendar カレンダー コントロールを変更します。
それは機能しますが、位置が異なります。誰かが変更を手伝ってくれると幸いです
1.

コードは次のとおりです。
this.iframe = window.frames("meizzCalendarIframe");



コードをコピーします コードは次のとおりです:
this.iframe = window.frames["meizzCalendarIframe"]; 🎜>

2.


コードをコピーします コードは次のとおりです:
>var a = (arguments.length= =0) ? WebCalendar.day[this.id.substr(8)].split("/") : argument[0].split("/"); 🎜>



コードをコピー コードは次のとおりです: var a = WebCalendar.day[this.id.substr(8 )].split("/");


3.


コードをコピー コードは次のとおりです。 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;
}
}





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"; 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;
}
}

ソース:php.cn
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
最新の問題
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート
私たちについて 免責事項 Sitemap
PHP中国語ウェブサイト:福祉オンライン PHP トレーニング,PHP 学習者の迅速な成長を支援します!