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

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

?? spinner.js

?? 圖書管理系統包括圖書的增加、刪除、修改等功能
?? JS
字號:
/*	Copyright (c) 2004-2006, The Dojo Foundation	All Rights Reserved.	Licensed under the Academic Free License version 2.1 or above OR the	modified BSD license. For more information on Dojo licensing, see:		http://dojotoolkit.org/community/licensing.shtml*/dojo.provide("dojo.widget.html.Spinner");dojo.require("dojo.widget.Spinner");dojo.require("dojo.widget.Manager.*");dojo.require("dojo.widget.*");dojo.require("dojo.io.*");dojo.require("dojo.lfx.*");dojo.require("dojo.dom");dojo.require("dojo.html");dojo.require("dojo.string");dojo.require("dojo.widget.html.stabile");dojo.widget.html.Spinner = function(){	dojo.widget.Spinner.call(this);	dojo.widget.HtmlWidget.call(this);}dojo.inherits(dojo.widget.html.Spinner, dojo.widget.HtmlWidget);// copied from superclass since we can't really over-ride via prototypedojo.lang.extend(dojo.widget.html.Spinner, dojo.widget.Spinner.defaults);dojo.lang.extend(dojo.widget.html.Spinner, {	name: "", // clone in the name from the DOM node	inputNode: null,	upArrowNode: null,	downArrowNode: null,	absNode: null,	relNode: null,	innerRelNode: null,	spacerNode: null,	inputWidgetId: "",	inputWidget: null,	typamaticTimer: null,	typamaticFunction: null,	defaultTimeout: 500,	currentTimeout: this.defaultTimeout,	eventCount: 0,	templatePath: dojo.uri.dojoUri("src/widget/templates/HtmlSpinner.html"),	templateCssPath: dojo.uri.dojoUri("src/widget/templates/HtmlSpinner.css"),	setValue: function(value){		this.inputWidget.setValue(value);		this.inputWidget.adjustValue(0);		dojo.widget.html.stabile.setState(this.widgetId, this.getState(), true);	},	getValue: function(){		return this.inputWidget.getValue();	},	getState: function(){		return {value: this.getValue()};	},	setState: function(state){		this.setValue(state.value);	},	// does the keyboard related stuff	_handleKeyEvents: function(evt){		var k = dojo.event.browser.keys;		var keyCode = evt.keyCode;		switch(keyCode){ 			case k.KEY_DOWN_ARROW:				dojo.event.browser.stopEvent(evt);				this.downArrowPressed(evt);				return;			case k.KEY_UP_ARROW:				dojo.event.browser.stopEvent(evt);				this.upArrowPressed(evt);				return;		}		this.eventCount++;	},	onKeyDown: function(evt){		// IE needs to stop keyDown others need to stop keyPress		if(!document.createEvent){ // only IE			this._handleKeyEvents(evt);		}	},	onKeyPress: function(evt){		if(document.createEvent){ // never IE			this._handleKeyEvents(evt);		}	},	fillInTemplate: function(args, frag){		var source = this.getFragNodeRef(frag);		dojo.html.copyStyle(this.domNode, source);	},	resizeUpArrow: function(){		var newh = dojo.style.getContentBoxHeight(this.inputNode) >> 1;		if(newh==0){			// need more time to calculate size			dojo.lang.setTimeout(this, "resizeUpArrow", 100);			return;		}		var oldh = this.upArrowNode.height;		if(oldh==0){			// need more time to calculate size			dojo.lang.setTimeout(this, "resizeUpArrow", 100);			return;		}		var ratio = newh / oldh;		this.upArrowNode.width=Math.floor(this.upArrowNode.width * ratio);		this.upArrowNode.height=newh;	},	resizeDownArrow: function(){		var newh = dojo.style.getContentBoxHeight(this.inputNode) >> 1;		if(newh==0){			// need more time to calculate size			dojo.lang.setTimeout(this, "resizeDownArrow", 100);			return;		}		var oldh = this.downArrowNode.height;		if(oldh==0){			// need more time to calculate size			dojo.lang.setTimeout(this, "resizeDownArrow", 100);			return;		}		var ratio = newh / oldh;		this.downArrowNode.width=Math.floor(this.downArrowNode.width * ratio);		this.downArrowNode.height=newh;	},	resizeSpacer: function(){		var newh = dojo.style.getContentBoxHeight(this.inputNode) >> 1;		if( newh==0 ){			// need more time to calculate size			dojo.lang.setTimeout(this, "resizeSpacer", 100);			return;		}		var oldh = this.downArrowNode.height;		if( oldh==0 ){			// need more time to calculate size			dojo.lang.setTimeout(this, "resizeSpacer", 100);			return;		}		var ratio = newh / oldh;		this.spacerNode.width=Math.floor(this.spacerNode.width * ratio);		this.spacerNode.height=newh;	},	_pressButton: function(node){		with(node.style){			borderRight = "0px";			borderBottom = "0px";			borderLeft = "1px solid black";			borderTop = "1px solid black";		}	},	_releaseButton: function(node){		with(node.style){			borderLeft = "0px";			borderTop = "0px";			borderRight = "1px solid gray";			borderBottom = "1px solid gray";		}	},	downArrowPressed: function(evt){		if(typeof evt != "number"){		    if(this.typamaticTimer != null){				if(this.typamaticFunction == this.downArrowPressed){					return;				}		        clearTimeout(this.typamaticTimer);		    }		    this._releaseButton(this.upArrowNode);		    this.eventCount++;		    this.typamaticTimer = null;		    this.currentTimeout = this.defaultTimeout;		}else if (evt != this.eventCount){		    this._releaseButton(this.downArrowNode);		    return;		}		this._pressButton(this.downArrowNode);		this.setCursorX(this.inputWidget.adjustValue(-1,this.getCursorX()));		this.typamaticFunction = this.downArrowPressed;		this.typamaticTimer = setTimeout( dojo.lang.hitch(this,function(){this.downArrowPressed(this.eventCount);}), this.currentTimeout);		this.currentTimeout = Math.round(this.currentTimeout * 90 / 100);	},	upArrowPressed: function(evt){		if(typeof evt != "number"){		    if(this.typamaticTimer != null){				if(this.typamaticFunction == this.upArrowPressed){					return;				}		        clearTimeout(this.typamaticTimer);		    }		    this._releaseButton(this.downArrowNode);		    this.eventCount++;		    this.typamaticTimer = null;		    this.currentTimeout = this.defaultTimeout;		}else if(evt != this.eventCount) {		    this._releaseButton(this.upArrowNode);		    return;		}		this._pressButton(this.upArrowNode);		this.setCursorX(this.inputWidget.adjustValue(+1,this.getCursorX()));		this.typamaticFunction = this.upArrowPressed;		this.typamaticTimer = setTimeout( dojo.lang.hitch(this,function(){this.upArrowPressed(this.eventCount);}), this.currentTimeout);		this.currentTimeout = Math.round(this.currentTimeout * 90 / 100);	},	arrowReleased: function(evt){		this.inputNode.focus();		if(evt.keyCode && evt.keyCode != null){			var keyCode = evt.keyCode;			var k = dojo.event.browser.keys;			switch(keyCode){				case k.KEY_DOWN_ARROW:				case k.KEY_UP_ARROW:					dojo.event.browser.stopEvent(evt);					break;			}		}		this._releaseButton(this.upArrowNode);		this._releaseButton(this.downArrowNode);		this.eventCount++;		if(this.typamaticTimer != null){		    clearTimeout(this.typamaticTimer);		}		this.typamaticTimer = null;		this.currentTimeout = this.defaultTimeout;	},	mouseWheeled: function(evt) {		var scrollAmount = 0;		if(typeof evt.wheelDelta == 'number'){ // IE		    scrollAmount = evt.wheelDelta;		}else if (typeof evt.detail == 'number'){ // Mozilla+Firefox		    scrollAmount = -evt.detail;		}		if(scrollAmount > 0){		    this.upArrowPressed(evt);		    this.arrowReleased(evt);		}else if (scrollAmount < 0){		    this.downArrowPressed(evt);		    this.arrowReleased(evt);		}	},	getCursorX: function(){		var x = -1;		try{		    this.inputNode.focus();		    if (typeof this.inputNode.selectionEnd == "number"){				x = this.inputNode.selectionEnd;		    }else if (document.selection && document.selection.createRange) {				var range = document.selection.createRange().duplicate();				if(range.parentElement() == this.inputNode){					range.moveStart('textedit', -1);					x = range.text.length;				}		    }		}catch(e){ /* squelch! */ }		return x;	},	setCursorX: function(x){		try{			this.inputNode.focus();		    if(!x){ x = 0 }		    if(typeof this.inputNode.selectionEnd == "number"){		        this.inputNode.selectionEnd = x;		    }else if(this.inputNode.createTextRange){		        var range = this.inputNode.createTextRange();		        range.collapse(true);		        range.moveEnd('character', x);		        range.moveStart('character', x);		        range.select();		    }		}catch(e){ /* squelch! */ }	},	postCreate: function(){		this.domNode.style.display="none";		if((typeof this.inputWidgetId != 'string')||(this.inputWidgetId.length == 0)){		    var w=dojo.widget.manager.getAllWidgets();		    for(var i=w.length-1; i>=0; i--){		        if(w[i].adjustValue){					this.inputWidget = w[i];					break;		        }		    }		}else{		    this.inputWidget = dojo.widget.getWidgetById(this.inputWidgetId);		}		if(typeof this.inputWidget != 'object'){			dojo.lang.setTimeout(this, "postCreate", 100); 			return;		}		var widgetNode = this.inputWidget.domNode;		var inputNodes = widgetNode.getElementsByTagName('INPUT');		this.inputNode = inputNodes[0];		/*		// unlink existing dom nodes from domNode		this.downArrowNode = dojo.dom.removeNode(this.downArrowNode);		this.upArrowNode = dojo.dom.removeNode(this.upArrowNode);		this.spacerNode = dojo.dom.removeNode(this.spacerNode);		this.innerRelNode = dojo.dom.removeNode(this.innerRelNode);		this.absNode = dojo.dom.removeNode(this.absNode);		this.relNode = dojo.dom.removeNode(this.relNode);		*/		// create a disconnected node		this.innerRelNode.appendChild(this.upArrowNode);		this.innerRelNode.appendChild(this.downArrowNode);		this.absNode.appendChild(this.innerRelNode);		this.relNode.appendChild(this.absNode);		this.relNode.appendChild(this.spacerNode);		dojo.event.connect(this.inputNode, "onkeypress", this, "onKeyPress");		dojo.event.connect(this.inputNode, "onkeydown", this, "onKeyDown");		dojo.event.connect(this.inputNode, "onkeyup", this, "arrowReleased");		dojo.event.connect(this.downArrowNode, "onmousedown", this, "downArrowPressed");		dojo.event.connect(this.downArrowNode, "onmouseup", this, "arrowReleased");		dojo.event.connect(this.upArrowNode, "onmousedown", this, "upArrowPressed");		dojo.event.connect(this.upArrowNode, "onmouseup", this, "arrowReleased");		if(this.inputNode.addEventListener){			// FIXME: why not use dojo.event.connect() to DOMMouseScroll here?		    this.inputNode.addEventListener('DOMMouseScroll', dojo.lang.hitch(this, "mouseWheeled"), false); // Mozilla + Firefox + Netscape		}else{		    dojo.event.connect(this.inputNode, "onmousewheel", this, "mouseWheeled"); // IE + Safari		}		this.resizeDownArrow();		this.resizeUpArrow();		this.resizeSpacer();		// make sure the disconnected node will fit right next to the INPUT tag w/o any interference		dojo.html.copyStyle(this.relNode, this.inputNode);		with(this.relNode.style){			display = "inline";			position = "relative";			backgroundColor = "";			marginLeft = "-1px";			paddingLeft = "0";		}		this.inputNode.style.marginRight = "0px";		this.inputNode.style.paddingRight = "0px";		// add the disconnected node right after the INPUT tag		dojo.dom.insertAfter(this.relNode, this.inputNode, false);		this.domNode = dojo.dom.removeNode(this.domNode);		// realign the spinner vertically in case there's a slight difference		var absOffset = dojo.html.getAbsoluteY(this.relNode,true)-dojo.html.getAbsoluteY(this.absNode,true);		this.absNode.style.top = absOffset-dojo.style.getBorderExtent(this.inputNode, "top")+"px";		var s = dojo.widget.html.stabile.getState(this.widgetId);		this.setValue(this.getValue());		if(s){			this.setState(s);		}	}});

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩在线| 91精品国产色综合久久久蜜香臀| 亚洲网友自拍偷拍| 国产日韩欧美激情| 91精品国产高清一区二区三区| av不卡免费电影| 精品一区二区三区在线观看国产 | 国产欧美日韩在线| 欧美丰满嫩嫩电影| 在线观看免费成人| 色综合久久综合| 91污在线观看| 成熟亚洲日本毛茸茸凸凹| 国产精品一区二区男女羞羞无遮挡| 五月天丁香久久| 亚洲福利一二三区| 国产精品入口麻豆原神| 欧美一区二区在线看| 99视频一区二区| 91色婷婷久久久久合中文| 成人av动漫在线| 成人黄色777网| 99精品视频在线观看| 91女厕偷拍女厕偷拍高清| 色综合婷婷久久| 欧美视频在线观看一区二区| 99久久婷婷国产| 色视频一区二区| 欧美日韩亚洲综合| 欧美福利电影网| 精品嫩草影院久久| 欧美精品一区二区三区高清aⅴ| 91精品国产麻豆| 国产精品麻豆一区二区| 国产精品美女久久久久aⅴ| 7777精品伊人久久久大香线蕉经典版下载 | 在线播放/欧美激情| 欧美一卡在线观看| 精品欧美一区二区三区精品久久| 日韩欧美卡一卡二| 日韩视频永久免费| 91精品在线免费观看| 欧美色区777第一页| 欧美日韩视频在线一区二区| 日韩欧美国产三级| 中日韩av电影| 亚洲一区在线观看视频| 免费久久精品视频| 麻豆国产欧美一区二区三区| 久久爱另类一区二区小说| 色欧美88888久久久久久影院| 欧美一区二区视频观看视频| 国产日韩精品一区| 亚洲国产欧美一区二区三区丁香婷| 亚洲自拍欧美精品| 理论片日本一区| 在线视频观看一区| 久久蜜臀中文字幕| 亚洲r级在线视频| 韩国三级在线一区| 在线免费不卡电影| 久久嫩草精品久久久精品| 国产性色一区二区| 日韩av一二三| 99视频在线精品| 日韩欧美二区三区| 亚洲电影一区二区| 美女尤物国产一区| 日本高清不卡视频| 欧美国产欧美亚州国产日韩mv天天看完整 | 亚洲欧洲成人精品av97| 青青国产91久久久久久| 99久久精品99国产精品| 精品国产污污免费网站入口| 亚洲妇女屁股眼交7| 91麻豆国产精品久久| 精品三级av在线| 五月婷婷久久丁香| 972aa.com艺术欧美| 久久影院午夜片一区| 午夜电影网一区| 99综合影院在线| 中文字幕一区二区视频| 国产成人精品影院| 国产日本欧洲亚洲| 乱中年女人伦av一区二区| 欧美高清激情brazzers| 亚洲一区二区欧美日韩 | 韩国av一区二区| 91麻豆精品国产自产在线观看一区 | 精品一区二区在线播放| 欧美乱熟臀69xxxxxx| 一区二区三区四区蜜桃| 99re热这里只有精品视频| 欧美激情综合网| 国产一区二区三区免费看| 精品国产亚洲在线| 精品一区二区三区免费| 日韩午夜av电影| 国产一区三区三区| 日韩视频免费观看高清完整版| 亚洲国产一区在线观看| 色欧美日韩亚洲| 一区二区三区在线播| 日韩片之四级片| 91在线云播放| 日本不卡一区二区| 国产亚洲欧美中文| 欧美性受xxxx| 国产乱人伦精品一区二区在线观看| 日韩美女视频一区| 日韩欧美国产一区二区三区| 国产成人av在线影院| 一区二区欧美在线观看| 欧美精品一区二区在线观看| 色综合久久中文字幕| 久久成人精品无人区| 一区二区三区欧美| 久久久久久久国产精品影院| 在线观看av一区| 成人午夜电影网站| 精品在线免费视频| 亚洲第一电影网| 亚洲日本在线看| 欧美经典一区二区| 欧美大片日本大片免费观看| 欧美色欧美亚洲另类二区| 国产aⅴ精品一区二区三区色成熟| 午夜精品久久久久影视| 亚洲人成网站影音先锋播放| 精品国产三级电影在线观看| 欧美日韩国产欧美日美国产精品| 成人avav在线| 国产成人免费网站| 久久精品av麻豆的观看方式| 亚洲福利视频三区| 一区二区在线免费观看| 国产精品日日摸夜夜摸av| 久久蜜桃av一区精品变态类天堂 | 日韩午夜精品电影| 欧美午夜视频网站| 欧美午夜在线一二页| 91黄视频在线| 91视频xxxx| 成人黄色片在线观看| 国产高清不卡二三区| 久久99久久久欧美国产| 午夜激情一区二区三区| 亚洲综合色婷婷| 亚洲一线二线三线视频| 一二三区精品视频| 一区二区三区美女视频| 亚洲影视在线播放| 亚洲电影在线免费观看| 亚洲国产一区二区视频| 亚洲与欧洲av电影| 日韩中文字幕不卡| 美女看a上一区| 久久国产精品一区二区| 紧缚奴在线一区二区三区| 国产美女精品人人做人人爽| 国产精品一二三| 91网址在线看| 欧美日韩亚州综合| 日韩美一区二区三区| 久久久久9999亚洲精品| 亚洲国产精品99久久久久久久久| 国产精品久久久久婷婷| 亚洲男人天堂一区| 亚洲成年人网站在线观看| 蜜桃精品视频在线| 成人精品一区二区三区中文字幕| 99v久久综合狠狠综合久久| 欧美午夜精品久久久久久孕妇 | 亚洲一区二区三区免费视频| 五月天久久比比资源色| 国产一区三区三区| 色综合天天综合| 日韩一区二区三区av| 国产亚洲美州欧州综合国| 综合色天天鬼久久鬼色| 亚洲成人av电影| 国产乱码精品一区二区三区忘忧草 | 精品国产乱码久久| 亚洲欧洲色图综合| 捆绑紧缚一区二区三区视频| 丁香五精品蜜臀久久久久99网站 | 成人免费在线视频| 视频一区二区中文字幕| 国产成人8x视频一区二区| 欧美色图天堂网| 国产欧美精品区一区二区三区 | 免费观看久久久4p| 成人永久看片免费视频天堂| 欧美视频在线不卡| 国产欧美日韩一区二区三区在线观看| 亚洲国产综合91精品麻豆| 国产成人精品网址| 欧美一区二区视频观看视频| 亚洲日本免费电影|