六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 233|回复: 0

时间控件6

[复制链接]

升级  52.67%

35

主题

35

主题

35

主题

秀才

Rank: 2

积分
129
 楼主| 发表于 2013-2-8 00:52:37 | 显示全部楼层 |阅读模式
function PopupCalendar(InstanceName)
{   
///Global Tag
this.instanceName=InstanceName;
///Properties
this.separator="-";
this.separatorTime=":"; //+stz 时间分隔符
this.canmove=false; //+stz  控件层是否可拖动
this.oBtnTodayTitle="Today";
this.oBtnCancelTitle="Cancel";
this.weekDaySting=new Array("S","M","T","W","T","F","S");
this.monthSting=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
this.Width=300;
this.currDate=new Date();
this.today=new Date();
this.startYear=1970;
this.endYear=2010;
///Css
this.normalfontColor="#666666";
this.selectedfontColor="red";
this.divBorderCss="1px solid #BCD0DE";
this.titleTableBgColor="#E8F1FF";
this.tableBorderColor="#CCCCCC"
///Method
this.Init=CalendarInit; //初始化函数
this.Fill=CalendarFill;
this.Refresh=CalendarRefresh;
this.Restore=CalendarRestore;
///HTMLObject
this.oTaget=null;
this.oPreviousCell=null;
this.sDIVID=InstanceName+"_Div";
this.sTABLEID=InstanceName+"_Table";
this.sMONTHID=InstanceName+"_Month";
this.sYEARID=InstanceName+"_Year";
this.sTODAYBTNID=InstanceName+"_TODAYBTN";
//add by stz
this.sHOURID=InstanceName+"_Hour";
this.sMINUTEID=InstanceName+"_Minute";
this.sSECONDID=InstanceName+"_Second";
this.movePicPath="";

}
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表