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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? mopcalendar.js

?? 《JavaScript王者歸來(lái)》examples.rar
?? JS
字號(hào):
with(core.web.widgets)
{
	MopCalendarWidget = function()
	{
		Widget.call(this);

		var MopCalendarAdorner = core.web.widgets.adorners.MopCalendarAdorner;

		var adorner = new MopCalendarAdorner();
		this.captureEvents(adorner,"change");
		this.captureEvents(adorner,"click");
		this.addAdorner(adorner);
	}
	MopCalendarWidget.prototype = new Widget();

	MopCalendarWidget.prototype.onchange = function(evt)
	{

	}
	MopCalendarWidget.prototype.onclick = function(evt)
	{
		alert(evt.date);
	}

	with(adorners)
	{
		MopCalendarAdorner = function()
		{
			Adorner.call(this);
		}
		MopCalendarAdorner.prototype = new Adorner();

		MopCalendarAdorner.prototype.load = function(face, parent){
			var $pointer = this;
	
			var now = Date.now().datePart();

			var defaultDate = Date.parseDate(face.getAttribute("date")) || now;
			if(parent)
				defaultDate = Date.parseDate(parent.getAttribute("date")) || now;

			var fromYear = parseInt(face.getAttribute("fromYear")) || 1970;
			var toYear = parseInt(face.getAttribute("toYear")) || 2069;
			var formatter = face.getAttribute("format") || "YYYY-MM-DD";

			var _css = this.resource("calendar.css");
			var _css2 = this.resource("button.css");
			core.web.CSSStyleSheet.load(_css);
			core.web.CSSStyleSheet.load(_css2);

			var monthStr = ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"];

			var _div = $html("div", face.id);
			var _visible = face.getAttribute("visibility");
			if(_visible == "hidden")
			{
				_div.hide();
			}
			_div.el.style.position = "absolute";

			var _id = "_panel" + Math.random();
			var _bar = "_bar" + Math.random();
			var _arrow_right = "_arrow_right" + Math.random();
			var _arrow_left = "_arrow_left" + Math.random();
			
			var s = '<TABLE class="panelTable" height="185" cellSpacing="1" cellPadding="0" width="253" align="center" bgColor="#3e75a9" border="0"><TBODY><TR><TD id="'+_bar+'" style="cursor:move"></tD></TR><TR><TD class="panelTD" vAlign="top" bgColor="#d1e1ee"><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"><TBODY><TR><TD id = "'+_arrow_left+'" width="15" class="arrow_left" height="12"></TD><TD align="middle"><SELECT class="NoBorder" knobName="MopCalendar_selYear" style="width: 72px"></SELECT><SELECT knobName="MopCalendar_selMonth" class="NoBorder" style="width: 60px" ></SELECT></TD><TD id = "'+_arrow_right+'" align="right" class="arrow_right" width="15"></TD></TR></TBODY></TABLE><TABLE style="margin-top: 6px" cellSpacing="1" cellPadding="0" width="100%" bgColor="#a0c6e5" border="0"><TBODY><TR><TD bgColor="#ffffff"><TABLE id = "'+_id+'"; cellSpacing=0 cellPadding=0 width="100%" border="0"><TBODY><TR style="PADDING-TOP: 2px; HEIGHT: 16px"><TD class="weekEnd" align="middle">日</TD><TD class="weekDay" align="middle">一</TD><TD class="weekDay" align="middle">二</TD><TD class="weekDay" align="middle">三</TD><TD class="weekDay" align="middle">四</TD><TD class="weekDay" align="middle">五</TD><TD class="weekEnd" align="middle">六</TD></TR><TR><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD></TR><TR><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD></TR><TR><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD></TR><TR><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD></TR><TR><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD></TR><TR><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD><TD class="dateGridHid" onmouseover="this.style.backgroundColor=\'#FFD760\'" onmouseout="this.style.backgroundColor=\'#FFFFFF\'" align="center"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><TABLE style="MARGIN-TOP: 8px" cellSpacing="0" cellPadding="0" align="right" border="0"><TBODY><TR><TD><BUTTON class="bt_normal"  name="_now">當(dāng)前日期</BUTTON></TD><TD width="14"> </TD><TD><BUTTON class="bt_normal" name="_reset">重置</BUTTON></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>';

			_div.el.innerHTML = s;

			face.parentNode.replaceChild(_div.el, face);
			_sels = _div.el.getElementsByTagName("select");

			var _yearSel = _sels[0];
			var _monthSel = _sels[1];

			for(var i = fromYear; i <= toYear; i++)
			{
				var _op = new Option(i+"年",i);
				_yearSel.options.add(_op);
			}
			for(var i = 0; i <= 11; i++)
			{
				var _op = new Option(monthStr[i],i);
				_monthSel.options.add(_op);
			}
			function drawCalendarPanel(date)
			{
				var firstDay = date.getFirstDayOfMonth();
				var days = date.getDaysOfMonth();

				var datePanel = $(_id);

				var _tds = datePanel.getElementsByTagName("td");

				for(var i = 0; i < 42; i++)
				{
					var _vd = firstDay.getDateFrom(i - firstDay.getDay());
					var _date = _vd.getDate();

					_tds[i + 7].setAttribute("value", _vd.toFormattedDateString("YYYY-MM-DD")); 
					_tds[i + 7].style.color = "";
					_tds[i + 7].className = "dateGrid";

					if(_date <= i+1 && i - days + 1 < _date) 
					{
						if(_date == date.getDate())
						{
							_tds[i + 7].style.color = "blue";
						}
						if(now.datePart().getTime() == _vd.datePart().getTime())
						{
							_tds[i + 7].style.color = "#ff0000";
						}
					}
					else
					{   
						_tds[i + 7].className = "dateGridHid";
					}
				
					_tds[i + 7].innerText = _date;	
				}

				var _year = date.getFullYear();
				var _month = date.getMonth();

				_yearSel.value = _year;
				_monthSel.value = _month;

				return date;
			}

			this.date = drawCalendarPanel(defaultDate);

			var _buttons = _div.el.getElementsByTagName("button");

			var behavior = this.addBehavior(new behaviors.HoverBehavior());
			if(behavior)
			{
				behavior.hoverIn = function(evt)
				{
					evt.target.className = "bt_hover";
				}
				behavior.hoverOut = function(evt)
				{
					evt.target.className = "bt_normal";
				}
				behavior.hoverUp = function(evt)
				{
					evt.target.className = "bt_up";
				}
				behavior.hoverDown = function(evt)
				{
					evt.target.className = "bt_down";
				}
				behavior.addKnobs($html(_buttons[0]), $html(_buttons[1]));
				behavior.active();
			}

			var behavior = this.addBehavior(new behaviors.ClickBehavior());
			
			behavior.onclick = function(evt)
			{
				var target = evt.target;
				if(target.getAttribute("name") == "_now") 
				{
					$pointer.setDate(drawCalendarPanel(now));
					$pointer.dispatchEvent("click", {date:$pointer.date});
				}
				else if(target.getAttribute("name") == "_reset") 
				{
					$pointer.setDate(drawCalendarPanel(defaultDate));
					$pointer.dispatchEvent("click", {date:$pointer.date});
				}
				else if(target.id == _arrow_left)
				{
					$pointer.setDate(drawCalendarPanel(
							new Date($pointer.date.getFullYear(), $pointer.date.getMonth() - 1, $pointer.date.getDate())
						));
				}
				else if(target.id == _arrow_right)
				{
					$pointer.setDate(drawCalendarPanel(
							new Date($pointer.date.getFullYear(), $pointer.date.getMonth() + 1, $pointer.date.getDate())
						));
				}
				else if(target.getAttribute("value"))
				{	
					$pointer.setDate(Date.parseDate(target.getAttribute("value")));
					$pointer.dispatchEvent("click", {date:$pointer.date});
				}
			}
			behavior.addKnobs($html(_buttons[0]), $html(_buttons[1]),$$(_arrow_left),$$(_arrow_right),$$(_id));
			behavior.active();

			var behavior = this.addBehavior(new behaviors.SelectBehavior());

			behavior.onchange = function(evt)
			{
				var _date = new Date(_yearSel.value, _monthSel.value, $pointer.date.getDate());
				$pointer.setDate(drawCalendarPanel(_date));
			}
			behavior.addKnobs($html(_yearSel), $html(_monthSel));
			behavior.active();

			var behavior = this.addBehavior(new behaviors.DragBehavior());
			behavior.setPanel(_div);
			behavior.addKnobs($$(_bar));
			behavior.active();

			return _div;
		}
		
		MopCalendarAdorner.prototype.getDate = function()
		{
			return this.date;
		}
		MopCalendarAdorner.prototype.setDate = function(date)
		{
			if(this.date != date)
			{
				this.dispatchEvent("change", {date:date});
			}
			this.date = date;
		}
	}
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产激情偷乱视频一区二区三区 | 精品区一区二区| 亚洲一区二区三区视频在线| 91首页免费视频| 国产精品色在线| 国产91富婆露脸刺激对白| 久久午夜电影网| 国产揄拍国内精品对白| 欧美精品一区二区三区高清aⅴ| 欧美aaaaaa午夜精品| 91麻豆精品国产91久久久久| 亚洲成人精品一区二区| 欧美熟乱第一页| 午夜精品福利久久久| 欧美三级在线看| 午夜在线成人av| 欧美人与禽zozo性伦| 三级一区在线视频先锋 | av中文字幕一区| 亚洲视频在线一区二区| 色悠悠亚洲一区二区| 亚洲中国最大av网站| 欧美网站大全在线观看| 亚洲超丰满肉感bbw| 欧美一区二区三区在线看| 青草av.久久免费一区| 久久综合资源网| 久久久精品国产免大香伊| 麻豆极品一区二区三区| 日韩精品一区二区三区三区免费| 免费成人结看片| 精品国产乱码久久久久久图片 | 一区二区三区精密机械公司| 在线观看亚洲精品视频| 午夜激情一区二区三区| 欧美一区二区三区不卡| 狠狠色综合播放一区二区| 欧美激情一区二区三区| 色综合久久综合| 午夜欧美电影在线观看| 日韩欧美123| 懂色一区二区三区免费观看| 亚洲三级免费电影| 欧美精品久久一区| 激情综合色综合久久| 国产尤物一区二区在线| 中文字幕日韩av资源站| 欧美日韩免费一区二区三区| 久久99精品久久久久久动态图| 国产欧美综合在线观看第十页| 97精品久久久午夜一区二区三区| 性做久久久久久久免费看| 秋霞成人午夜伦在线观看| 久久久亚洲午夜电影| 成人av资源下载| 亚洲成国产人片在线观看| 精品久久人人做人人爰| 99久久精品情趣| 日韩国产精品大片| 国产亚洲精品精华液| 欧美在线一区二区| 极品少妇一区二区| 一区二区三区国产精品| 久久综合国产精品| 91激情在线视频| 狠狠色2019综合网| 伊人夜夜躁av伊人久久| 亚洲精品一区二区三区蜜桃下载| 一本一道久久a久久精品 | 国产一区二区三区四| 亚洲免费在线观看视频| 欧美va亚洲va在线观看蝴蝶网| 99久久99久久精品国产片果冻| 日本一区中文字幕| 国产精品国产三级国产aⅴ无密码| 7777精品伊人久久久大香线蕉 | 国产69精品久久99不卡| 亚洲成年人影院| 欧美国产日韩一二三区| 7777精品伊人久久久大香线蕉经典版下载 | 久久伊人中文字幕| 欧洲av在线精品| 国产成人av电影在线| 日本午夜一区二区| 亚洲三级电影网站| 久久久www成人免费毛片麻豆| 欧美日韩在线不卡| eeuss鲁片一区二区三区在线观看| 蜜桃91丨九色丨蝌蚪91桃色| 亚洲精品亚洲人成人网| 久久久久久久综合狠狠综合| 欧美军同video69gay| 91美女片黄在线观看91美女| 国产精品88av| 免费看日韩精品| 亚洲高清久久久| 亚洲色欲色欲www在线观看| 久久九九久久九九| 日韩三级av在线播放| 欧美日韩一区二区在线观看视频 | 91美女在线观看| 国产成人午夜精品影院观看视频| 日韩电影一区二区三区四区| 亚洲欧美色综合| 国产精品视频yy9299一区| 久久综合久色欧美综合狠狠| 91精品国产黑色紧身裤美女| 日本韩国一区二区三区| 成人av动漫网站| 国产成人精品亚洲777人妖| 久久国产乱子精品免费女| 日韩精品亚洲一区二区三区免费| 一个色在线综合| 亚洲精品乱码久久久久久久久| 国产精品美女久久久久av爽李琼| 久久精品男人的天堂| 久久久三级国产网站| xf在线a精品一区二区视频网站| 日韩欧美成人一区| 91精品国产综合久久精品| 欧美精品自拍偷拍动漫精品| 欧美日韩情趣电影| 欧美日韩亚州综合| 欧美日本在线播放| 欧美人体做爰大胆视频| 欧美精品自拍偷拍动漫精品| 欧美日韩免费电影| 欧美高清视频www夜色资源网| 欧美日韩在线亚洲一区蜜芽| 欧美日韩卡一卡二| 欧美乱妇20p| 精品欧美黑人一区二区三区| 国产精品综合久久| 精品一区二区免费看| 日韩电影在线一区| 免费人成网站在线观看欧美高清| 男男视频亚洲欧美| 久久精品999| 国产在线一区二区| 东方欧美亚洲色图在线| 成人h精品动漫一区二区三区| 成人听书哪个软件好| 成人av午夜电影| 懂色av一区二区三区免费观看| 成人精品国产一区二区4080| 成人激情免费电影网址| 94色蜜桃网一区二区三区| 在线欧美日韩精品| 欧美久久久一区| 日韩欧美美女一区二区三区| 久久久久久一二三区| 中文字幕av一区 二区| 日韩理论片网站| 亚洲国产日韩a在线播放性色| 日韩黄色片在线观看| 九九九精品视频| 懂色av中文字幕一区二区三区| 99久久综合狠狠综合久久| 欧洲视频一区二区| 日韩一区二区三区高清免费看看| 亚洲精品一区二区精华| 国产亚洲欧美日韩日本| 亚洲欧洲精品一区二区精品久久久| 亚洲美女屁股眼交3| 五月激情六月综合| 国产在线精品免费| 99热精品一区二区| 欧美乱熟臀69xxxxxx| 精品国产精品一区二区夜夜嗨| 国产精品嫩草影院av蜜臀| 一区二区国产盗摄色噜噜| 青青草伊人久久| 成人动漫在线一区| 欧美色图一区二区三区| 精品国产免费人成电影在线观看四季| 国产人成亚洲第一网站在线播放| 亚洲乱码国产乱码精品精小说| 三级影片在线观看欧美日韩一区二区| 国产伦精品一区二区三区免费| 91亚洲大成网污www| 日韩一区二区三| 国产精品久久久久永久免费观看 | 久久影院视频免费| 1024国产精品| 男女男精品视频网| 99精品桃花视频在线观看| 制服丝袜中文字幕亚洲| 国产喂奶挤奶一区二区三区| 亚洲欧美另类图片小说| 美女爽到高潮91| eeuss国产一区二区三区| 欧美一卡二卡三卡四卡| 国产精品成人免费在线| 奇米综合一区二区三区精品视频| 成人免费的视频| 91精品国产一区二区三区| 国产精品女人毛片| 免费黄网站欧美| 色综合久久综合中文综合网| 精品国产一区a|