亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? datetime.js

?? 這是我上次報java培訓時
?? JS
?? 第 1 頁 / 共 4 頁
字號:
      theLeftDay = 31;
    }else{
      theLeftDay = this.GetMonthDays(theYear, theMonth - 1);
    }
    var theRightDay = this.GetMonthDays(theYear, theMonth);
    var theCurrentDay = theLeftDay - theWeek + 1;
    var offsetMonth = -1; //the month is previous month
    var theColor = this.InvalidColor;
    var theBgColor = this.UnselectBgColor;
    var theBdColor = theBgColor;
    var WeekId = 0
    var DayId = 0;
    var theStyle = "";
    var theDayHTML = "<table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
    theDayHTML += "		<tr style=\"" + this.TitleStyle + "\">";
    for (DayId = 0; DayId < 7; DayId++){
      theDayHTML += "		<td width=\"10%\">" + this.WeekName[DayId] + "</td>";
    }
    theDayHTML += "		</tr>";
    theDayHTML += "		<tr>";
	theDayHTML += "			<td colspan=\"7\" style=\"" + this.LineBgStyle + "\">";
    theDayHTML += "				<table style=\"" + this.LineStyle + "\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
    theDayHTML += "					<tr><td></td></tr>";
	theDayHTML += "				</table>";
    theDayHTML += "			</td>";
	theDayHTML += "		</tr>";
    for (WeekId = 0; WeekId < 6; WeekId++){
      theDayHTML += "	<tr style=\"" + this.DayStyle + "\">";
      for (DayId = 0; DayId < 7; DayId++){
	    if ((theCurrentDay > theLeftDay) && (WeekId < 3)){
	      offsetMonth++; //the month is current month;
	      theCurrentDay = 1;
	    }
	    if ((theCurrentDay > theRightDay) && (WeekId > 3)){
	      offsetMonth++; //the month is next month;
	      theCurrentDay = 1;
	    }
	    switch (offsetMonth){
	      case -1:
		    theColor = this.InvalidColor;
		    break;
		case 1:
		    theColor = this.InvalidColor;
		    break;
		case 0:
		    if ((DayId==0)||(DayId==6)){
		      theColor = this.WeekendColor;
		    }else{
		      theColor = this.ValidColor;
		    }
		    break;
	    }
	    if ((DayId==0)||(DayId==6)){
	      theBgColor = this.WeekendBgColor;
	    }else{
	      theBgColor = this.UnselectBgColor;
	    }
	    theBdColor = this.DayBdColor;
	    if ((theCurrentDay == theDay) && (offsetMonth == 0)){
	      theColor = this.SelectedColor;
	      theBgColor = this.SelectedBgColor;
		  theBdColor = theBgColor;
	    }
	    if ((theYear == theCurrentDate.getFullYear()) && (theMonth == theCurrentDate.getMonth()) && (theCurrentDay == theCurrentDate.getDate()) && (offsetMonth == 0)){
		  theBdColor = this.TodayBdColor;
	    }
	    theStyle = "border:" + this.DayBdWidth + "px solid " + theBdColor + "; color:" + theColor + "; background-color:" + theBgColor + ";";
	    theDayHTML += "		<td style=\"" + theStyle + "\" onMouseOver=\"" + this.OverDayStyle + "\" onMouseOut=\"" + this.OutDayStyle + "\" onMouseDown=\"document.jsMonthView.CreateMonthGrid(" + theYear.toString() + ", " +
	    (theMonth + offsetMonth).toString() + ", " + theCurrentDay.toString() + ", " + this.formatTime(theCurrentDate.getHours()) + ", " + this.formatTime(theCurrentDate.getMinutes()) + ", " + this.formatTime(theCurrentDate.getSeconds()) +
	    ");"+theName+"_MonthView.style.visibility='hidden' \">";

	    theDayHTML += theCurrentDay.toString();
	    theDayHTML += "		</td>";
	    theCurrentDay++;
	  }
	  theDayHTML += "	</tr>";
    }
    theDayHTML += "		<tr style=\"" + this.FooterStyle + "\" onMouseDown=\"document.jsMonthView.CreateMonthGrid(" + theCurrentDate.getFullYear().toString() + ", " + theCurrentDate.getMonth().toString() + ", " + theCurrentDate.getDate().toString() + ", " + this.formatTime(theCurrentDate.getHours()) + ", " + this.formatTime(theCurrentDate.getMinutes()) + ", " + this.formatTime(theCurrentDate.getSeconds())+ ");\">";
    theStyle = "border:" + this.DayBdWidth + "px solid " + this.TodayBdColor + ";";
    theDayHTML += "			<td style=\"" + theStyle + "\">";
    theDayHTML += "			&nbsp;" + this.TodayTitle;
    theDayHTML += "			</td>";
	var tmpCurrentDate = this.SetDateFormat(theCurrentDate.getFullYear(), theCurrentDate.getMonth(), theCurrentDate.getDate(), theCurrentDate.getHours(), theCurrentDate.getMinutes(),theCurrentDate.getSeconds());
	if (this.hasTime)
		tmpCurrentDate = tmpCurrentDate.substr(0,tmpCurrentDate.length-8);
    theDayHTML += "			<td colspan=\"6\"> " + "&nbsp;&nbsp;" + tmpCurrentDate + "</td>";
    theDayHTML += "		</tr>";
    theDayHTML += "	</table>";
    var theMonthGrid = document.all.item(theName + "_MonthGrid");
    theMonthGrid.innerHTML = theDayHTML;
  }
  this.CreateMonthGrid = function(theYear, theMonth, theDay,theHour,theMinute,theSecond){ //refresh the month view to the date, main action is run this.setDayList() and set this.Source.value
    var theTextObject = this.Source;
    if (theTextObject == null){
      return;
    }
    var theName = this.Name;
    var theYearObject = document.all.item(theName + "_YearList");
    var theMonthObject = document.all.item(theName + "_MonthList");
    var tmpYear = theYear;
    var tmpMonth = theMonth;
    var tmpDay = 1;
    if (tmpMonth < 0){
      tmpYear--;
	  tmpMonth = 11;
    }
    if (tmpMonth > 11){
      tmpYear++;
	  tmpMonth = 0;
    }
    if (tmpYear < this.MinYear){
      tmpYear = this.MinYear;
    }
    if (tmpYear > this.MaxYear){
      tmpYear = this.MaxYear;
    }
    if (theDay < 1){
	  tmpDay = 1;
	}else{
      tmpDay = this.GetMonthDays(tmpYear, tmpMonth);
      if (theDay < tmpDay){
	    tmpDay = theDay;
	  }
	}
    theYearObject.value = tmpYear;
    theMonthObject.value = tmpMonth;
	var tmpHour = theHour;
	var tmpMinute = theMinute;
	var tmpSecond = theSecond;
    this.setDayList(tmpYear, tmpMonth, tmpDay, tmpHour, tmpMinute, tmpSecond);
    theTextObject.value = this.SetDateFormat(tmpYear, tmpMonth, tmpDay, tmpHour, tmpMinute, tmpSecond);
    //theTextObject.select();
	if (!isNaN(this.fObj))
		this.fObj.focus();
  }
  this.CreateMonth = function(theYear, theMonth, theDay,theHour,theMinute,theSecond){ //refresh the month view to the date, main action is run this.setDayList() and set this.Source.value
    var theTextObject = this.Source;
    if (theTextObject == null){
      return;
    }
	this.CreateMonthGrid(theYear, theMonth, theDay,theHour,theMinute,theSecond);
    theTextObject.select();
  }
  this.UpdateMonthGrid = function(theObject,isNow){ //run this.CreateMonthGrid() by theObject
    var theTextObject = this.Source;
    if (theTextObject == null){
      return;
    }
	var theName = this.Name;
    var theYearObject = document.all.item(theName + "_YearList");
    var theMonthObject = document.all.item(theName + "_MonthList");
    var theDayObject = document.all.item(theName + "_DayList");

    var theHourObject = document.all.item(theName + "_HourInput");
    var theMinuteObject = document.all.item(theName + "_MinuteInput");
    var theSecondObject = document.all.item(theName + "_SecondInput");
	if (isNaN(isNow)||isNow==null)
		isNow = false;
	if (this.hasTime&&isNow){
		Now = new Date();
		theHourObject.value=this.formatTime(Now.getHours());
		theMinuteObject.value=this.formatTime(Now.getMinutes());
		theSecondObject.value=this.formatTime(Now.getSeconds());
	}
    var tmpName = theObject.id.substr(theObject.id.lastIndexOf("_"));
    switch (tmpName){
      case "_goPreviousMonth": //go previous month button
	    theObject.disabled = true;
		if (this.hasTime)
			this.CreateMonth(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10) - 1, parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
		else
			this.CreateMonth(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10) - 1, parseInt(theDayObject.value, 10));
	    theObject.disabled = false;
	    break;
	  case "_goNextMonth": //go next month button
	    theObject.disabled = true;
		if (this.hasTime)
			this.CreateMonth(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10) + 1, parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
		else
			this.CreateMonth(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10) + 1, parseInt(theDayObject.value, 10));
	    theObject.disabled = false;
	    break;
	  case "_YearList": //year list
		if (this.hasTime)
			this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
		else
			this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10));
	    break;
	  case "_MonthList": //month list
		if (this.hasTime)
			this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
		else
			this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10));
	    break;
	  case "_HourInput": //Hour Input		
		if (isNaN(theHourObject.value)||theHourObject.value==null||theHourObject.value=="")
			break;
		if (isNaN(theMinuteObject.value)||theMinuteObject.value==null||theMinuteObject.value=="")
			break;
		if (isNaN(theSecondObject.value)||theSecondObject.value==null||theSecondObject.value=="")
			break;
	    this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
	    break;
	  case "_MinuteInput": //Minute Input
		if (isNaN(theHourObject.value)||theHourObject.value==null||theHourObject.value=="")
			break;
		if (isNaN(theMinuteObject.value)||theMinuteObject.value==null||theMinuteObject.value=="")
			break;
		if (isNaN(theSecondObject.value)||theSecondObject.value==null||theSecondObject.value=="")
			break;
	    this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
	    break;
	  case "_SecondInput": //Second Input
		if (isNaN(theHourObject.value)||theHourObject.value==null||theHourObject.value=="")
			break;
		if (isNaN(theMinuteObject.value)||theMinuteObject.value==null||theMinuteObject.value=="")
			break;
		if (isNaN(theSecondObject.value)||theSecondObject.value==null||theSecondObject.value=="")
			break;
	    this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
	    break;
	  case "_TimeInputUp": //TimeInputUp button
		this.controlTime();
	    this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
	    break;
	  case "_TimeInputDown": //TimeInputDown button
		this.controlTime();
	    this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
	    break;
	  case "_TimeInput": //_TimeInput list
	    this.CreateMonthGrid(parseInt(theYearObject.value, 10), parseInt(theMonthObject.value, 10), parseInt(theDayObject.value, 10), parseInt(theHourObject.value, 10), parseInt(theMinuteObject.value, 10), parseInt(theSecondObject.value, 10));
	    break;
	  default:
	    return;
    }
  }
////////////////////////////////////////////////////////////
 this.getNowTime=function(){
  var objDate = new Date();
  return this.formatTime(objDate.getHours())+":"+
    this.formatTime(objDate.getMinutes())+":"+
    this.formatTime(objDate.getSeconds());
 }
 this.play = function() {
  this.timer = setInterval(this.name+".playback()",1000);
 }
 this.formatTime = function(sTime) {
  sTime = ("0"+sTime);
  return sTime.substr(sTime.length-2);
 }
 this.playback = function() {
  var objDate = new Date();
  var arrDate = [objDate.getHours(),objDate.getMinutes(),objDate.getSeconds()];
  var objMinute = document.getElementsByName(this.fName);
  for (var i=0;i<objMinute.length;i++) {
   objMinute[i].value = this.formatTime(arrDate[i])
  }
 }
 
 this.setForObjValue=function(){
  //eval("document.all."+forObj+".value=this.getTime()");
	var tt=this.getTime();
 }
 this.prevent = function(obj) {
  clearInterval(this.timer);
  this.setFocusObj(obj);
  var value = parseInt(obj.value,10);
  var radix = parseInt(obj.radix,10)-1;
  if (obj.value>radix||obj.value<0) {
   obj.value = obj.value.substr(0,1);
  }
 }
 this.controlTime = function(cmd) {
  event.cancelBubble = true;
  if (!this.fObj) return;
  clearInterval(this.timer);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区在线播放| 99热精品一区二区| 成人一区二区视频| 欧美日韩在线一区二区| 国产欧美综合在线观看第十页| 一区二区三区欧美视频| 国产福利精品导航| 欧美一区二区三区日韩视频| 亚洲欧洲www| 国产乱子伦视频一区二区三区| 欧洲一区二区三区在线| 中文字幕久久午夜不卡| 老司机一区二区| 欧美三级三级三级爽爽爽| 中文字幕在线不卡一区| 国产又粗又猛又爽又黄91精品| 欧美日韩激情一区二区| 亚洲日本免费电影| 波波电影院一区二区三区| 精品国产乱码久久久久久浪潮| 亚洲国产精品久久不卡毛片| 成年人网站91| 国产精品免费视频一区| 国产一区 二区| 欧美va日韩va| 免费不卡在线观看| 884aa四虎影成人精品一区| 亚洲一区二区在线观看视频 | 国产成人免费视频一区| 91精品国产乱| 五月激情综合网| 欧美性受极品xxxx喷水| 亚洲激情男女视频| 色婷婷综合久久久久中文| 亚洲欧洲综合另类| 99re66热这里只有精品3直播| 国产精品久久久久久久久免费桃花 | 久久―日本道色综合久久| 亚洲欧美韩国综合色| 91丝袜美腿高跟国产极品老师| 中文字幕国产一区| 99久久99久久精品免费看蜜桃| 国产精品免费aⅴ片在线观看| 成人美女视频在线看| 欧美激情一区二区三区四区| 福利一区福利二区| 国产精品免费久久久久| 色婷婷综合久久久久中文 | 国产欧美日韩在线观看| 成人黄色av电影| 一区二区三区四区精品在线视频 | caoporn国产精品| 一区二区三区免费网站| 9191成人精品久久| 国内偷窥港台综合视频在线播放| 国产日本一区二区| 色综合色综合色综合| 日韩制服丝袜av| 久久久.com| 91视频免费看| 秋霞成人午夜伦在线观看| 精品成人一区二区| 99在线精品视频| 丝袜美腿一区二区三区| 精品国产百合女同互慰| 99riav一区二区三区| 亚洲福中文字幕伊人影院| 欧美成人艳星乳罩| 91玉足脚交白嫩脚丫在线播放| 亚洲成人777| 国产三级一区二区三区| 欧美无人高清视频在线观看| 极品瑜伽女神91| 一区二区三区在线视频观看| 日韩欧美一级二级三级久久久| 99在线视频精品| 精品在线观看视频| 一区二区三区四区中文字幕| 欧美videossexotv100| 欧日韩精品视频| 国产乱子轮精品视频| 亚洲成人你懂的| 中文字幕一区二区三区av| 欧美一级理论片| 91片黄在线观看| 国产精一品亚洲二区在线视频| 亚洲自拍偷拍网站| 中文字幕免费一区| 精品国产免费一区二区三区香蕉 | 99国产精品一区| 狂野欧美性猛交blacked| 亚洲激情图片一区| 国产午夜一区二区三区| 91精品国产高清一区二区三区蜜臀 | 国产精品情趣视频| 欧美丰满美乳xxx高潮www| 成人av免费在线| 激情欧美一区二区| 天天综合天天做天天综合| 一区二区理论电影在线观看| 国产精品每日更新在线播放网址| 欧美岛国在线观看| 欧美高清dvd| 欧美日韩高清在线| 色综合咪咪久久| a亚洲天堂av| 成人av在线资源| 高清久久久久久| 国产成人免费在线视频| 国产乱对白刺激视频不卡| 麻豆91在线观看| 久久精品国产精品亚洲红杏| 日韩国产在线一| 舔着乳尖日韩一区| 欧美aaa在线| 免费xxxx性欧美18vr| 蜜臀av性久久久久av蜜臀妖精| 亚洲国产精品视频| 香蕉久久夜色精品国产使用方法| 亚洲国产精品一区二区www在线| 一区二区三区四区视频精品免费| 亚洲精品视频自拍| 亚洲五码中文字幕| 首页国产欧美久久| 日日欢夜夜爽一区| 蜜乳av一区二区三区| 麻豆久久久久久久| 国产传媒日韩欧美成人| 成人aa视频在线观看| 色综合久久中文综合久久97| 91久久精品一区二区二区| 色成人在线视频| 欧美精品日韩一本| 精品成人一区二区三区四区| 国产精品青草久久| 亚洲国产你懂的| 久久99国产精品久久| 成人成人成人在线视频| 欧美视频一区在线| 精品久久久久一区| 18成人在线视频| 日韩成人精品在线| 国产精品性做久久久久久| 色老汉一区二区三区| 日韩一区二区三区精品视频 | 日韩视频在线观看一区二区| 337p日本欧洲亚洲大胆色噜噜| 国产精品对白交换视频| 日韩国产精品91| 成人午夜免费av| 欧美区视频在线观看| 久久久久国产免费免费| 一区二区三区在线播放| 日韩av电影天堂| 国内精品写真在线观看| 成人小视频在线| 欧美一区二区三区男人的天堂| 欧美tk—视频vk| 精品国产伦一区二区三区免费| 国产精品美女久久久久久久久 | 91小宝寻花一区二区三区| 色美美综合视频| 日韩欧美国产三级| 国产精品少妇自拍| 亚洲成人激情av| 国产一区二区成人久久免费影院| 91在线精品秘密一区二区| 日韩一区二区电影网| 中文成人av在线| 日本va欧美va瓶| hitomi一区二区三区精品| 欧美一区二区三区免费视频| 日本一区二区电影| 午夜精品久久久| 国产91色综合久久免费分享| 欧美电视剧免费观看| 亚洲女人小视频在线观看| 黑人精品欧美一区二区蜜桃| 欧美色图在线观看| 国产精品美女一区二区三区| 日韩av中文字幕一区二区| 91在线观看污| 日本一区二区三区四区在线视频| 亚洲一级在线观看| 国产成人精品免费在线| 精品视频一区 二区 三区| 亚洲精品乱码久久久久久久久 | 狠狠色狠狠色综合系列| 欧美日韩色一区| 亚洲国产精品欧美一二99| 国产.欧美.日韩| 精品日韩在线观看| 国产精品美女久久久久久久久久久 | 久久老女人爱爱| 天天操天天干天天综合网| 欧美综合一区二区| 国产欧美一区二区精品仙草咪| 亚洲国产一区二区在线播放| 99re热这里只有精品视频| 国产精品久久三区|