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

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

?? calendar-core.js

?? js日期插件
?? JS
?? 第 1 頁 / 共 5 頁
字號:
			function makeTimePart(className, partId, init, range_start, range_end) {				var table, tbody, tr, tr2, part;				if (range_end) {					cell = Zapatec.Utils.createElement("td", row);					cell.colSpan = 1;					if (cal.showsTime != "seconds") {						++cell.colSpan;					}					cell.className = "parent-" + className;					table = Zapatec.Utils.createElement("table", cell);					table.cellSpacing = table.cellPadding = 0;					if (className == "hour")						table.align = "right";					table.className = "calendar-time-scroller";					tbody = Zapatec.Utils.createElement("tbody", table);					tr    = Zapatec.Utils.createElement("tr", tbody);					tr2   = Zapatec.Utils.createElement("tr", tbody);				} else					tr = row;				part = Zapatec.Utils.createElement("td", tr);				part.className = className;				part.id = "zpTime" + cal.id + partId + "SelectStatus";				part.appendChild(window.document.createTextNode(init));				Zapatec.Utils.createProperty(part, "calendar", cal);				part.ttip = Zapatec.Calendar.i18n("TIME_PART");				part.navtype = 50;				part._range = [];				if (!range_end)					part._range = range_start;				else {					part.rowSpan = 2;					for (var i = range_start; i <= range_end; ++i) {						var txt;						if (i < 10 && range_end >= 10) txt = '0' + i;						else txt = '' + i;						part._range[part._range.length] = txt;					}					var up = Zapatec.Utils.createElement("td", tr);					up.className = "up";					up.navtype = 201;					up.id = "zpTime" + cal.id + partId + "UpButtonStatus";					Zapatec.Utils.createProperty(up, "calendar", cal);					up.timePart = part;					if (Zapatec.is_khtml)						up.innerHTML = "&nbsp;";					Zapatec.Calendar._add_evs(up);					var down = Zapatec.Utils.createElement("td", tr2);					down.className = "down";					down.navtype = 202;					down.id = "zpTime" + cal.id + partId + "DownButtonStatus";					Zapatec.Utils.createProperty(down, "calendar", cal);					down.timePart = part;					if (Zapatec.is_khtml)						down.innerHTML = "&nbsp;";					Zapatec.Calendar._add_evs(down);				}				Zapatec.Calendar._add_evs(part);				return part;			};			var hrs = cal.currentDate.getHours();			var mins = cal.currentDate.getMinutes();			if (cal.showsTime == "seconds") {				var secs = cal.currentDate.getSeconds();			}			var t12 = !cal.time24;			var pm = (hrs > 12);			if (t12 && pm) hrs -= 12;			var H = makeTimePart("hour", "Hours", hrs, t12 ? 1 : 0, t12 ? 12 : 23);			//calculating of the step for hours			H._step = (cal.timeInterval > 30) ? (cal.timeInterval / 60) : 1;			cell = Zapatec.Utils.createElement("td", row);			cell.innerHTML = ":";			cell.className = "colon";			var M = makeTimePart("minute", "Minutes", mins, 0, 59);			//calculating of the step for minutes			M._step = ((cal.timeInterval) && (cal.timeInterval < 60)) ? (cal.timeInterval) : 5; // FIXME: make this part configurable			if (cal.showsTime == "seconds") {				cell = Zapatec.Utils.createElement("td", row);				cell.innerHTML = ":";				cell.className = "colon";				var S = makeTimePart("minute", "Seconds", secs, 0, 59);				S._step = 5;			}			var AP = null;			if (t12) {				AP = makeTimePart("ampm", "AMPM", pm ? Zapatec.Calendar.i18n("pm", "ampm") : Zapatec.Calendar.i18n("am", "ampm"), [Zapatec.Calendar.i18n("am", "ampm"), Zapatec.Calendar.i18n("pm", "ampm")]);				AP.className += " button";			} else				Zapatec.Utils.createElement("td", row).innerHTML = "&nbsp;";			cal.onSetTime = function() {				var hrs = this.currentDate.getHours();				var mins = this.currentDate.getMinutes();				if (this.showsTime == "seconds") {					var secs = cal.currentDate.getSeconds();				}				if (this.timeInterval) {					mins += this.timeInterval - ((mins - 1 + this.timeInterval) % this.timeInterval) - 1;				}				while (mins >= 60) {					mins -= 60;					++hrs;				}				if (this.timeInterval > 60) {					var interval = this.timeInterval / 60;					if (hrs % interval != 0) {						hrs += interval - ((hrs - 1 + interval) % interval) - 1;					}					if (hrs >= 24) {hrs -= 24;}				}			//ALLOWED TIME CHECK				// This part of code seeks for the first enabled time value for this date. 				// It is written for the cases when you change day, month or year and the time value is disabled for the new date.				// So if you only allow 8:00 - 17:00 on Mondays and you change the date to a Monday but the time is 7:00 it will				// automatically move forward to 8:00.				var new_date = new Date(this.currentDate);				if (this.getDateStatus && this.getDateStatus(this.currentDate, this.currentDate.getFullYear(), this.currentDate.getMonth(), this.currentDate.getDate(), hrs, mins)) {				   hours = hrs;				   minutes = mins;				   do {				     if (this.timeInterval) {					 	if (this.timeInterval < 60) {							minutes += this.timeInterval;						} else {							hrs += this.timeInterval / 60;						}					 } else {					 	minutes += 5;					 }				     if (minutes >=60) {						minutes -= 60;						hours += 1;				     }				     if (hours >= 24) {hours -= 24;}					 new_date.setMinutes(minutes);				     new_date.setHours(hours);				     if (!this.getDateStatus(new_date, this.currentDate.getFullYear(), this.currentDate.getMonth(), this.currentDate.getDate(), hours, minutes)) {					 	hrs = hours;				 	 	mins = minutes;				     }				   } while ((hrs != hours) || (mins != minutes));				}			//END OF ALLOWED TIME CHECK				this.currentDate.setMinutes(mins);				this.currentDate.setHours(hrs);				var pm = (hrs >= 12);				if (pm && t12 && hrs != 12) hrs -= 12;				if (!pm && t12 && hrs == 0) hrs = 12;				H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs;				M.firstChild.data = (mins < 10) ? ("0" + mins) : mins;				if (this.showsTime == "seconds") {					S.firstChild.data = (secs < 10) ? ("0" + secs) : secs;				}				if (t12)				   AP.firstChild.data = pm ? Zapatec.Calendar.i18n("pm", "ampm") : Zapatec.Calendar.i18n("am", "ampm");			};			cal.onUpdateTime = function() {				var date = this.currentDate;				var h = parseInt(H.firstChild.data, 10);				if (t12) {					if (/pm/i.test(AP.firstChild.data) && h < 12)						h += 12;					else if (/am/i.test(AP.firstChild.data) && h == 12)						h = 0;				}				var d = date.getDate();				var m = date.getMonth();				var y = date.getFullYear();				date.setHours(h);				date.setMinutes(parseInt(M.firstChild.data, 10));				if (this.showsTime == "seconds") {					date.setSeconds(parseInt(S.firstChild.data, 10));				}				date.setFullYear(y);				date.setMonth(m);				date.setDate(d);				this.dateClicked = false;				this.callHandler();			};		})();		//empty area after the time controls		if (this.monthsInRow != 1) {			cell = Zapatec.Utils.createElement("td", row);			cell.colSpan = ((this.weekNumbers) ? 8 : 7) * (this.monthsInRow - 1) - Math.ceil(emptyColspan);			cell.className = "timetext";			cell.innerHTML = "&nbsp";		}							} else {		this.onSetTime = this.onUpdateTime = function() {};	}	row = Zapatec.Utils.createElement("tr", tfoot);	row.className = "footrow";	cell = hh(Zapatec.Calendar.i18n("SEL_DATE"), this.weekNumbers ? (8 * this.numberMonths) : (7 * this.numberMonths), 300);	cell.className = "ttip";	cell.id = "zpCal" + this.id + "Status";	if (this.isPopup && !this.disableDrag) {		cell.ttip = Zapatec.Calendar.i18n("DRAG_TO_MOVE");		cell.style.cursor = "move";	}	this.tooltips = cell;	div = this.monthsCombo = Zapatec.Utils.createElement("div", this.element);	div.className = "combo";	div.id = "zpCal" + this.id + "MonthDropdownCombo";	for (i = 0; i < 12; ++i) {		var mn = Zapatec.Utils.createElement("div");		mn.className = Zapatec.is_ie ? "label-IEfix" : "label";		mn.id = "zpCal" + this.id + "MonthDropdownItem" + i;		mn.month = i;		mn.appendChild(window.document.createTextNode(Zapatec.Calendar.i18n(i, "smn")));		div.appendChild(mn);	}	div = this.yearsCombo = Zapatec.Utils.createElement("div", this.element);	div.className = "combo";	div.id = "zpCal" + this.id + "YearDropdownCombo";	for (i = 0; i < 12; ++i) {		var yr = Zapatec.Utils.createElement("div");		yr.className = Zapatec.is_ie ? "label-IEfix" : "label";		yr.id = "zpCal" + this.id + "YearDropdownItem" + i;		yr.appendChild(window.document.createTextNode("&nbsp;"));		div.appendChild(yr);	}	div = this.histCombo = Zapatec.Utils.createElement("div", this.element);	div.id = "zpCal" + this.id + "HistoryDropdownCombo";	div.className = "combo history";	this._init(this.firstDayOfWeek, this.date);	parent.appendChild(this.element);};/** * This function handles keypress events that occur while a popup calendar is * displayed.  The implementation is quite complicated; this function calls * cellClick in order to set the new date as if it was clicked. * * @param ev [Event] the event object * @return false */Zapatec.Calendar._keyEvent = function(ev) {	if (!window.calendar) {		return false;	}	(Zapatec.is_ie) && (ev = window.event);	var cal = window.calendar;	var act = (Zapatec.is_ie || ev.type == "keypress");	var K = ev.keyCode;	var date  = new Date(cal.date);	if (ev.ctrlKey) {		switch (K) {		    case 37: // KEY left			act && Zapatec.Calendar.cellClick(cal._nav_pm);			break;		    case 38: // KEY up			act && Zapatec.Calendar.cellClick(cal._nav_py);			break;		    case 39: // KEY right			act && Zapatec.Calendar.cellClick(cal._nav_nm);			break;		    case 40: // KEY down			act && Zapatec.Calendar.cellClick(cal._nav_ny);			break;		    default:			return false;		}	} else switch (K) {	    case 32: // KEY space (now)		Zapatec.Calendar.cellClick(cal._nav_now);		break;	    case 27: // KEY esc		act && cal.callCloseHandler();		break;	    //Fix for the key navigation		case 37: // KEY left			if (act && !cal.multiple) {				date.setTime(date.getTime() - 86400000);				cal.setDate(date);			}			break;	    case 38: // KEY up			if (act && !cal.multiple) {				date.setTime(date.getTime() - 7 * 86400000);				cal.setDate(date);			}			break;	    case 39: // KEY right			if (act && !cal.multiple) {				date.setTime(date.getTime() + 86400000);				cal.setDate(date);			}			break;	    case 40: // KEY down			if (act && !cal.multiple) {				date.setTime(date.getTime() + 7 * 86400000);				cal.setDate(date);			}			break;	    case 13: // KEY enter		if (act) {			//FIX for Enter key!			Zapatec.Calendar.cellClick(cal.currentDateEl);		}		break;	    default:		return false;	}	return Zapatec.Utils.stopEvent(ev);};/** * (RE)Initializes the calendar to the given date and firstDayOfWeek. * * This function perform the action of actually displaying the day names and * dates in the calendar.  But first, it checks if the passed date fits in the * allowed range, configured by the "minYear", "maxYear", "minMonth" and * "maxMonth" properties of the Calendar object. * * It takes care to highlight special days (calling the * calendar.getDateStatus() function which can be overridden by external * scripts) or to highlight any dates that might be selected (for instance when * multiple dates is on, this function will call _initMultipleDates() to * highlight selected dates accordingly). * * This function is highly optimized for speed, therefore the code in it is not * trivial and what it does might not seem obvious. :-) So, WARNING, this is * voodoo.  If you want to properly understand the code you should analyze it * line by line and try to execute it step by step; use the Venkman JS * debugger. * * @param firstDayOfWeek [int] the first day of week, 0 for Sunday, 1 for Monday, etc. * @param date [Date] the date to initialize the calendar to * */Zapatec.Calendar.prototype._init = function (firstDayOfWeek, date, last) {	var		today = new Date(),		TD = today.getDate(),		TY = today.getFullYear(),		TM = today.getMonth();	//this.table.style.visibility = "hidden";	if (this.getDateStatus && !last) {		var status = this.getDateStatus(date, date.getFullYear(), date.getMonth(), date.getDate());		var backupDate = new Date(date);		while (((status == true) || (status == "disabled")) && (backupDate.getMonth() == date.getMonth())) {			date.setTime(date.getTime() + 86400000);			var status = this.getDateStatus(date, date.getFullYear(), date.getMonth(), date.getDate());		}		if (backupDate.getMonth() != date.getMonth()) {			date = new Date(backupDate);			while (((status == true) || (status == "disabled")) && (backupDate.getMonth() == date.getMonth())) {				date.setTime(date.getTime() - 86400000);				var status = this.getDateStatus(date, date.getFullYear(), date.getMonth(), date.getDate());			}		}		if (backupDate.getMonth() != date.getMonth()) {			last = true;			date = new Date(backupDate);		}	}	var year = date.getFullYear();	var month = date.getMonth();	var rowsOfMonths = Math.floor(this.numberMonths / this.monthsInRow);	var minMonth;	var diffMonth, last_row, before_control;	if (!this.vertical) {		dif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品视频在线免费观看| 韩国三级中文字幕hd久久精品| 日韩中文字幕亚洲一区二区va在线| 韩国毛片一区二区三区| 欧美在线观看视频一区二区三区| 26uuu国产在线精品一区二区| 亚洲国产综合91精品麻豆 | 国产精品欧美综合在线| 午夜电影网亚洲视频| 风间由美一区二区三区在线观看| 欧美日韩一区精品| 亚洲精品视频免费看| av资源站一区| 国产精品福利影院| 国产成人小视频| 久久精品这里都是精品| 激情国产一区二区| 欧美一级爆毛片| 日日摸夜夜添夜夜添亚洲女人| 色哟哟欧美精品| 国产精品久久久久影院老司| 丁香六月综合激情| 国产色综合久久| 韩国v欧美v日本v亚洲v| 久久综合狠狠综合久久激情| 久久99国内精品| 日韩视频永久免费| 日本欧美大码aⅴ在线播放| 538在线一区二区精品国产| 亚洲国产精品久久人人爱| 欧美在线视频不卡| 日韩精品电影一区亚洲| 日韩一级片网址| 国产在线播放一区| 欧美激情综合五月色丁香小说| 国产精品系列在线观看| 国产精品嫩草影院com| 成人免费视频app| 亚洲美女视频在线| 欧美午夜影院一区| 蜜桃久久久久久| 久久久国产精品麻豆| av在线不卡观看免费观看| 亚洲日穴在线视频| 777欧美精品| 狠狠网亚洲精品| 中文字幕亚洲一区二区av在线| 91色在线porny| 午夜精品久久久久久久久| 91精品婷婷国产综合久久| 精东粉嫩av免费一区二区三区| 国产欧美日韩视频一区二区| 91蝌蚪porny九色| 日韩和欧美一区二区| wwwwww.欧美系列| 99精品偷自拍| 日本一区中文字幕| 国产欧美一区二区精品性色| 日本高清无吗v一区| 日韩不卡一二三区| 国产精品天天摸av网| 欧美午夜片在线看| 国产福利91精品一区二区三区| 亚洲免费av观看| wwwwww.欧美系列| 91国偷自产一区二区使用方法| 男女性色大片免费观看一区二区| 久久精品视频网| 欧美在线啊v一区| 国产精一品亚洲二区在线视频| 亚洲激情六月丁香| 国产亚洲一区字幕| 欧美精品乱码久久久久久| 国产69精品久久久久毛片| 日韩高清在线不卡| 中文字幕在线不卡| 日韩欧美国产高清| 91国产成人在线| 国产aⅴ精品一区二区三区色成熟| 偷拍亚洲欧洲综合| 亚洲欧美一区二区久久| 精品国产三级a在线观看| 欧美午夜在线一二页| 丁香亚洲综合激情啪啪综合| 日日夜夜一区二区| 亚洲一区二区三区自拍| 国产精品的网站| 久久人人超碰精品| 日韩欧美色综合| 欧美日韩亚州综合| 欧洲另类一二三四区| 99久久精品免费| 国产精品一区免费视频| 欧美bbbbb| 水野朝阳av一区二区三区| 亚洲黄色尤物视频| 亚洲欧美日韩成人高清在线一区| 久久欧美一区二区| 精品精品欲导航| 日韩欧美一区二区视频| 91精品国产一区二区三区| 欧美日韩一区小说| 在线视频综合导航| 91精品福利视频| 99久久免费精品高清特色大片| 国产成人综合网| 国产麻豆精品在线观看| 久久国产麻豆精品| 久久精品免费观看| 国内一区二区在线| 国产乱妇无码大片在线观看| 国产一区二区三区电影在线观看| 精品一区二区av| 国内精品久久久久影院薰衣草 | 久久国产剧场电影| 久久爱www久久做| 国内不卡的二区三区中文字幕 | 久久精品久久99精品久久| 日韩高清一区二区| 麻豆精品久久精品色综合| 免费欧美在线视频| 国产一区二区网址| 成人的网站免费观看| 一本久久a久久精品亚洲| 欧美性受xxxx黑人xyx性爽| 欧美精三区欧美精三区| 欧美一区二区三区思思人| 日韩欧美综合一区| 国产蜜臀av在线一区二区三区| 国产精品久久一级| 亚洲一区二区三区四区在线免费观看| 亚洲一区二区欧美| 免费高清在线视频一区·| 国产福利91精品| 日本道免费精品一区二区三区| 欧美日韩色一区| 精品国产污污免费网站入口| 国产精品久久久久久久久图文区 | 国产精品入口麻豆原神| 亚洲视频一区二区免费在线观看| 亚洲一区二区三区四区五区中文| 日韩国产高清影视| 成人在线视频一区二区| 91成人国产精品| 欧美一区二区二区| 国产精品国产三级国产a| 亚洲国产精品久久久久秋霞影院| 久久电影网站中文字幕| 播五月开心婷婷综合| 欧美午夜片在线观看| 久久久精品蜜桃| 午夜视频在线观看一区二区三区| 久久国产精品色婷婷| 91视频www| 精品国产一二三| 亚洲一区二区在线免费观看视频| 国内精品免费在线观看| 欧美午夜宅男影院| 日本一区二区三区视频视频| 午夜精彩视频在线观看不卡| 成人精品鲁一区一区二区| 欧美日韩国产精品成人| 国产欧美一区二区精品性色超碰| 亚洲第一精品在线| 99久久精品国产网站| 日韩免费在线观看| 午夜久久久久久| av亚洲精华国产精华| 精品国内片67194| 丝袜诱惑亚洲看片| 在线免费不卡视频| 国产精品久久影院| 国产福利不卡视频| 欧美成人精品福利| 日韩影院免费视频| 在线观看国产精品网站| 国产精品网友自拍| 国产福利精品导航| 精品国产三级电影在线观看| 国产精品五月天| 一本色道综合亚洲| 一区二区久久久| 成人动漫中文字幕| 久久久久国产精品麻豆| 六月丁香综合在线视频| 在线不卡欧美精品一区二区三区| 亚洲欧美电影院| 91丨九色丨尤物| 亚洲欧美日韩中文字幕一区二区三区 | 亚洲va欧美va天堂v国产综合| 99这里只有精品| 亚洲欧洲一区二区三区| 成人黄色在线视频| 国产精品麻豆久久久| 粉嫩蜜臀av国产精品网站| 国产精品三级在线观看| a级精品国产片在线观看| 中文字幕欧美一区| 色88888久久久久久影院按摩| 亚洲猫色日本管|