修改Calendar日历控件 兼容IE9,谷歌,火狐。
只是能用,出现的位置有所不同,希望有高手再帮我改改吧,谢谢
一、
this.iframe = window.frames("meizzCalendarIframe");
修改为
this.iframe = window.frames["meizzCalendarIframe"];
二、
var a = (arguments.length==0) ? WebCalendar.day[this.id.substr(8)].split("/") : arguments[0].split("/");
修改为
var a = WebCalendar.day[this.id.substr(8)].split("/");
三、
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;
}
}
修改为
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;
}
}
下载链接
http://download.csdn.net/detail/qm4050/4957903
分享到:
相关推荐
Calendar 日历控件 兼容IE6 兼容IE8 兼容IE9 兼容火狐 兼容谷歌
修改Calendar日历控件 兼容IE9,谷歌,火狐。 只是能用,出现的位置有所不同,希望有高手再帮我改改吧,谢谢 一、 代码如下: this.iframe = window.frames(”meizzCalendarIframe”); 修改为 代码如下: this....
my97日历控件跟ie8不兼容 解决方案my97日历控件跟ie8不兼容 解决方案my97日历控件跟ie8不兼容 解决方案my97日历控件跟ie8不兼容 解决方案my97日历控件跟ie8不兼容 解决方案
WebCalendar日历控件 WebCalendar日历控件
Qt 自定义 Calendar 日历 控件 方便控制 及实现样式表
js 日历控件 calendar,js 日历控件 calendar,js 日历控件 calendar,js 日历控件 calendar,js 日历控件 calendar,js 日历控件 calendar
WPF Calendar 日历控件 样式自定义 粗略的在代码上做了些注释 blend 生成出来的模版 有的时候 会生成 跟 vs ui界面不兼容的代码 会导致可视化设计界面 报错崩溃掉 但是确不影响 程序的编译运行 这个样式表 在vs ...
本源码与大家分享几款Android平台上常见的日历控件。... 我觉得里面的calendar日历控件单元格绘制类、日历控件头部绘制类、日历控件样式绘制类以及Android实现日历控件类对开发日历控件、日期选择功能十分有用哦。
用Javascript编写的兼容各种浏览器的日历控件 具体兼容ie6-ie10 、Google chrome、firefox、safari、opera 以及使用ie内核和谷歌chrome内核的浏览器(如360浏览器,世界之窗,百度浏览器,搜狗浏览器) Calendar.js...
带节假日日历控件,ie,谷歌,火狐等主流浏览器都可以
Calendar日历控件[完整版]非常不错的日历控件,js效果很好~!
JSCalendar 日历控件,介绍 ,jar的下载地址,使用方法。
JS日历_完美兼容火狐IE等各种浏览器_calendar.js JS日历_完美兼容火狐IE等各种浏览器_calendar.js
提供了JSCalendar日历控件的下载,并且提供了如何使用的相关示例。
一个不错的日期控件,支持IE、firefox及chrome,使用简单,个人感觉用起来比my97datepicker方便很多
calendar日历控件_v0.1_API1
可折叠的日历控件Calendar;
在IE6,IE7,IE8,chrome谷歌浏览器6.0.472.55,FireFox火狐3.6.8下测试通过 需要说明的是,测试时间不多,所以可能测试不够详细,欢迎大家指出bug,并在我的博客发表回复:http://beinet.cn 注意:刚刚测出一个bug,请...