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

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

?? source.js

?? 這是一個ajax的例子大家好好的看看就是一個魚眼的效果
?? JS
字號:
if(!dojo._hasResource["dojo.dnd.Source"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.dojo._hasResource["dojo.dnd.Source"] = true;dojo.provide("dojo.dnd.Source");dojo.require("dojo.dnd.Selector");dojo.require("dojo.dnd.Manager");/*	Container property:		"Horizontal"- if this is the horizontal container	Source states:		""			- normal state		"Moved"		- this source is being moved		"Copied"	- this source is being copied	Target states:		""			- normal state		"Disabled"	- the target cannot accept an avatar	Target anchor state:		""			- item is not selected		"Before"	- insert point is before the anchor		"After"		- insert point is after the anchor*//*=====dojo.dnd.__SourceArgs = function(){	//	summary:	//		a dict of parameters for DnD Source configuration. Note that any	//		property on Source elements may be configured, but this is the	//		short-list	//	isSource: Boolean?	//		can be used as a DnD source. Defaults to true.	//	accept: Array?	//		list of accepted types (text strings) for a target; defaults to	//		["text"]	//	horizontal: Boolean?	//		a horizontal container, if true, vertical otherwise or when omitted	//	copyOnly: Boolean?	//		always copy items, if true, use a state of Ctrl key otherwise	//	withHandles: Boolean?	//		allows dragging only by handles	this.isSource = isSource;	this.accept = accept;	this.horizontal = horizontal;	this.copyOnly = copyOnly;	this.withHandles = withHandles;}=====*/dojo.declare("dojo.dnd.Source", dojo.dnd.Selector, {	// summary: a Source object, which can be used as a DnD source, or a DnD target		// object attributes (for markup)	isSource: true,	horizontal: false,	copyOnly: false,	skipForm: false,	withHandles: false,	accept: ["text"],		constructor: function(/*DOMNode|String*/node, /*dojo.dnd.__SourceArgs?*/params){		// summary: 		//		a constructor of the Source		// node:		//		node or node's id to build the source on		// params: 		//		any property of this class may be configured via the params		//		object which is mixed-in to the `dojo.dnd.Source` instance		dojo.mixin(this, dojo.mixin({}, params));		var type = this.accept;		if(type.length){			this.accept = {};			for(var i = 0; i < type.length; ++i){				this.accept[type[i]] = 1;			}		}		// class-specific variables		this.isDragging = false;		this.mouseDown = false;		this.targetAnchor = null;		this.targetBox = null;		this.before = true;		// states		this.sourceState  = "";		if(this.isSource){			dojo.addClass(this.node, "dojoDndSource");		}		this.targetState  = "";		if(this.accept){			dojo.addClass(this.node, "dojoDndTarget");		}		if(this.horizontal){			dojo.addClass(this.node, "dojoDndHorizontal");		}		// set up events		this.topics = [			dojo.subscribe("/dnd/source/over", this, "onDndSourceOver"),			dojo.subscribe("/dnd/start",  this, "onDndStart"),			dojo.subscribe("/dnd/drop",   this, "onDndDrop"),			dojo.subscribe("/dnd/cancel", this, "onDndCancel")		];	},		// methods	checkAcceptance: function(source, nodes){		// summary: checks, if the target can accept nodes from this source		// source: Object: the source which provides items		// nodes: Array: the list of transferred items		if(this == source){ return true; }		for(var i = 0; i < nodes.length; ++i){			var type = source.getItem(nodes[i].id).type;			// type instanceof Array			var flag = false;			for(var j = 0; j < type.length; ++j){				if(type[j] in this.accept){					flag = true;					break;				}			}			if(!flag){				return false;	// Boolean			}		}		return true;	// Boolean	},	copyState: function(keyPressed){		// summary: Returns true, if we need to copy items, false to move.		//		It is separated to be overwritten dynamically, if needed.		// keyPressed: Boolean: the "copy" was pressed		return this.copyOnly || keyPressed;	// Boolean	},	destroy: function(){		// summary: prepares the object to be garbage-collected		dojo.dnd.Source.superclass.destroy.call(this);		dojo.forEach(this.topics, dojo.unsubscribe);		this.targetAnchor = null;	},	// markup methods	markupFactory: function(params, node){		params._skipStartup = true;		return new dojo.dnd.Source(node, params);	},	// mouse event processors	onMouseMove: function(e){		// summary: event processor for onmousemove		// e: Event: mouse event		if(this.isDragging && this.targetState == "Disabled"){ return; }		dojo.dnd.Source.superclass.onMouseMove.call(this, e);		var m = dojo.dnd.manager();		if(this.isDragging){			// calculate before/after			var before = false;			if(this.current){				if(!this.targetBox || this.targetAnchor != this.current){					this.targetBox = {						xy: dojo.coords(this.current, true),						w: this.current.offsetWidth,						h: this.current.offsetHeight					};				}				if(this.horizontal){					before = (e.pageX - this.targetBox.xy.x) < (this.targetBox.w / 2);				}else{					before = (e.pageY - this.targetBox.xy.y) < (this.targetBox.h / 2);				}			}			if(this.current != this.targetAnchor || before != this.before){				this._markTargetAnchor(before);				m.canDrop(!this.current || m.source != this || !(this.current.id in this.selection));			}		}else{			if(this.mouseDown && this.isSource){				var nodes = this.getSelectedNodes();				if(nodes.length){					m.startDrag(this, nodes, this.copyState(dojo.dnd.getCopyKeyState(e)));				}			}		}	},	onMouseDown: function(e){		// summary: event processor for onmousedown		// e: Event: mouse event		if(this._legalMouseDown(e) && (!this.skipForm || !dojo.dnd.isFormElement(e))){			this.mouseDown = true;			this.mouseButton = e.button;			dojo.dnd.Source.superclass.onMouseDown.call(this, e);		}	},	onMouseUp: function(e){		// summary: event processor for onmouseup		// e: Event: mouse event		if(this.mouseDown){			this.mouseDown = false;			dojo.dnd.Source.superclass.onMouseUp.call(this, e);		}	},		// topic event processors	onDndSourceOver: function(source){		// summary: topic event processor for /dnd/source/over, called when detected a current source		// source: Object: the source which has the mouse over it		if(this != source){			this.mouseDown = false;			if(this.targetAnchor){				this._unmarkTargetAnchor();			}		}else if(this.isDragging){			var m = dojo.dnd.manager();			m.canDrop(this.targetState != "Disabled" && (!this.current || m.source != this || !(this.current.id in this.selection)));		}	},	onDndStart: function(source, nodes, copy){		// summary: topic event processor for /dnd/start, called to initiate the DnD operation		// source: Object: the source which provides items		// nodes: Array: the list of transferred items		// copy: Boolean: copy items, if true, move items otherwise		if(this.isSource){			this._changeState("Source", this == source ? (copy ? "Copied" : "Moved") : "");		}		var accepted = this.accept && this.checkAcceptance(source, nodes);		this._changeState("Target", accepted ? "" : "Disabled");		if(accepted && this == source){			dojo.dnd.manager().overSource(this);		}		this.isDragging = true;	},	onDndDrop: function(source, nodes, copy){		// summary: topic event processor for /dnd/drop, called to finish the DnD operation		// source: Object: the source which provides items		// nodes: Array: the list of transferred items		// copy: Boolean: copy items, if true, move items otherwise		do{ //break box			if(this.containerState != "Over"){ break; }			var oldCreator = this._normalizedCreator;			if(this != source){				// transferring nodes from the source to the target				if(this.creator){					// use defined creator					this._normalizedCreator = function(node, hint){						return oldCreator.call(this, source.getItem(node.id).data, hint);					};				}else{					// we have no creator defined => move/clone nodes					if(copy){						// clone nodes						this._normalizedCreator = function(node, hint){							var t = source.getItem(node.id);							var n = node.cloneNode(true);							n.id = dojo.dnd.getUniqueId();							return {node: n, data: t.data, type: t.type};						};					}else{						// move nodes						this._normalizedCreator = function(node, hint){							var t = source.getItem(node.id);							source.delItem(node.id);							return {node: node, data: t.data, type: t.type};						};					}				}			}else{				// transferring nodes within the single source				if(this.current && this.current.id in this.selection){ break; }				if(this.creator){					// use defined creator					if(copy){						// create new copies of data items						this._normalizedCreator = function(node, hint){							return oldCreator.call(this, source.getItem(node.id).data, hint);						};					}else{						// move nodes						if(!this.current){ break; }						this._normalizedCreator = function(node, hint){							var t = source.getItem(node.id);							return {node: node, data: t.data, type: t.type};						};					}				}else{					// we have no creator defined => move/clone nodes					if(copy){						// clone nodes						this._normalizedCreator = function(node, hint){							var t = source.getItem(node.id);							var n = node.cloneNode(true);							n.id = dojo.dnd.getUniqueId();							return {node: n, data: t.data, type: t.type};						};					}else{						// move nodes						if(!this.current){ break; }						this._normalizedCreator = function(node, hint){							var t = source.getItem(node.id);							return {node: node, data: t.data, type: t.type};						};					}				}			}			this._removeSelection();			if(this != source){				this._removeAnchor();			}			if(this != source && !copy && !this.creator){				source.selectNone();			}			this.insertNodes(true, nodes, this.before, this.current);			if(this != source && !copy && this.creator){				source.deleteSelectedNodes();			}			this._normalizedCreator = oldCreator;		}while(false);		this.onDndCancel();	},	onDndCancel: function(){		// summary: topic event processor for /dnd/cancel, called to cancel the DnD operation		if(this.targetAnchor){			this._unmarkTargetAnchor();			this.targetAnchor = null;		}		this.before = true;		this.isDragging = false;		this.mouseDown = false;		delete this.mouseButton;		this._changeState("Source", "");		this._changeState("Target", "");	},		// utilities	onOverEvent: function(){		// summary: this function is called once, when mouse is over our container		dojo.dnd.Source.superclass.onOverEvent.call(this);		dojo.dnd.manager().overSource(this);	},	onOutEvent: function(){		// summary: this function is called once, when mouse is out of our container		dojo.dnd.Source.superclass.onOutEvent.call(this);		dojo.dnd.manager().outSource(this);	},	_markTargetAnchor: function(before){		// summary: assigns a class to the current target anchor based on "before" status		// before: Boolean: insert before, if true, after otherwise		if(this.current == this.targetAnchor && this.before == before){ return; }		if(this.targetAnchor){			this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After");		}		this.targetAnchor = this.current;		this.targetBox = null;		this.before = before;		if(this.targetAnchor){			this._addItemClass(this.targetAnchor, this.before ? "Before" : "After");		}	},	_unmarkTargetAnchor: function(){		// summary: removes a class of the current target anchor based on "before" status		if(!this.targetAnchor){ return; }		this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After");		this.targetAnchor = null;		this.targetBox = null;		this.before = true;	},	_markDndStatus: function(copy){		// summary: changes source's state based on "copy" status		this._changeState("Source", copy ? "Copied" : "Moved");	},	_legalMouseDown: function(e){		// summary: checks if user clicked on "approved" items		// e: Event: mouse event		if(!this.withHandles){ return true; }		for(var node = e.target; node && !dojo.hasClass(node, "dojoDndItem"); node = node.parentNode){			if(dojo.hasClass(node, "dojoDndHandle")){ return true; }		}		return false;	// Boolean	}});dojo.declare("dojo.dnd.Target", dojo.dnd.Source, {	// summary: a Target object, which can be used as a DnD target		constructor: function(node, params){		// summary: a constructor of the Target --- see the Source constructor for details		this.isSource = false;		dojo.removeClass(this.node, "dojoDndSource");	},	// markup methods	markupFactory: function(params, node){		params._skipStartup = true;		return new dojo.dnd.Target(node, params);	}});}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久精品久久久久久清纯| 玖玖九九国产精品| 69堂成人精品免费视频| 风流少妇一区二区| 国产一区二区三区蝌蚪| 国产乱色国产精品免费视频| 大尺度一区二区| 99精品视频在线观看免费| 色婷婷av一区二区三区之一色屋| 色综合久久88色综合天天免费| 色综合色综合色综合| 欧美亚洲国产一区在线观看网站| 在线观看av一区二区| 欧美一区二区三区精品| 日本一区二区视频在线观看| 亚洲色欲色欲www| 久久99热狠狠色一区二区| 成人午夜av在线| 色久综合一二码| 3d动漫精品啪啪一区二区竹菊| 欧美精品一区二区三区蜜臀| 国产精品久久久久一区二区三区共| 一区二区三国产精华液| 九一九一国产精品| 成人综合婷婷国产精品久久| 国产成人午夜片在线观看高清观看| 亚洲国产精品久久艾草纯爱| 强制捆绑调教一区二区| 在线观看日韩av先锋影音电影院| 日韩欧美一级特黄在线播放| 亚洲国产综合色| 一本高清dvd不卡在线观看| 日韩视频免费观看高清完整版在线观看 | 婷婷一区二区三区| 色综合色狠狠天天综合色| 精品乱码亚洲一区二区不卡| 日韩成人伦理电影在线观看| 欧美自拍偷拍一区| 国产欧美一区二区精品秋霞影院| 美国毛片一区二区三区| 91精品免费在线观看| 午夜激情久久久| 日韩欧美一区在线| 久久99最新地址| 欧美性色aⅴ视频一区日韩精品| 欧美欧美午夜aⅴ在线观看| 亚洲综合一区二区精品导航| 欧美视频在线观看一区| 亚洲高清免费视频| 7777精品伊人久久久大香线蕉超级流畅| 亚洲欧美一区二区三区国产精品| 99久久精品99国产精品| 亚洲制服欧美中文字幕中文字幕| 欧美中文字幕一区二区三区亚洲| 亚洲精品久久久久久国产精华液| 欧美性生交片4| 精品一区二区三区免费视频| 日韩精品一区二区三区在线观看| 激情六月婷婷久久| 亚洲男人的天堂在线观看| 欧美日韩不卡视频| 懂色av中文一区二区三区| 国产精品久久久久久久久免费相片 | 亚洲综合小说图片| 日韩精品一区二区三区老鸭窝| 国产成人免费在线观看| 精品国产三级电影在线观看| 成人高清视频在线观看| 日韩国产高清在线| 亚洲特黄一级片| 精品欧美一区二区久久| 欧美性三三影院| av一区二区三区四区| 麻豆国产欧美日韩综合精品二区| 中文字幕在线观看不卡视频| 欧美一级午夜免费电影| 欧美综合一区二区三区| 成人小视频免费观看| 精品亚洲成a人| 麻豆精品在线播放| 日韩不卡在线观看日韩不卡视频| 一区二区三区在线免费播放| 一区免费观看视频| 国产欧美日韩精品一区| 国产欧美一区二区三区在线看蜜臀| 欧美日韩国产123区| 一本到不卡精品视频在线观看| 国产成人亚洲精品青草天美| 国产一区欧美二区| 国产传媒一区在线| 激情综合网最新| 久久成人18免费观看| 国产精品久久久久久妇女6080| 久久久精品tv| 欧美国产日韩精品免费观看| 国产亚洲欧美日韩日本| 亚洲视频香蕉人妖| 亚洲成人第一页| 精品一区二区免费在线观看| 国产大陆精品国产| 欧美亚洲一区二区在线观看| 欧美日韩精品福利| 国产嫩草影院久久久久| 亚洲一二三四久久| 国产一区二区在线影院| 成人h动漫精品| 在线电影欧美成精品| 国产网站一区二区| 亚洲午夜免费视频| 高清久久久久久| 69堂精品视频| 一区二区三区自拍| 国产在线看一区| 欧美性极品少妇| 国产精品无圣光一区二区| 亚洲国产精品久久艾草纯爱| 国产精品一线二线三线| 欧美三区免费完整视频在线观看| 97aⅴ精品视频一二三区| 成人美女视频在线观看18| 日韩精品一区二区三区中文不卡 | 国内精品国产成人国产三级粉色| 91在线视频官网| 国产女主播一区| 久久精品国产免费看久久精品| 99精品偷自拍| 亚洲色图一区二区| 成人免费看黄yyy456| 国产午夜一区二区三区| 麻豆精品在线视频| 欧美哺乳videos| 韩国av一区二区三区| 精品国产99国产精品| 国产精品香蕉一区二区三区| 欧美xxxx在线观看| 国产成人av资源| 国产精品女主播av| 成人99免费视频| 一区二区三区在线视频观看58| 日本道精品一区二区三区 | 91蜜桃网址入口| 亚洲成在人线免费| 日本韩国欧美一区二区三区| 亚洲精品水蜜桃| 91麻豆精品国产91久久久使用方法 | 一区二区三区蜜桃| 欧美久久久久久久久| 全国精品久久少妇| 亚洲国产成人在线| 欧美电影一区二区| gogo大胆日本视频一区| 日韩精品电影在线观看| 久久久精品黄色| 欧美日韩不卡一区| 成人免费福利片| 伦理电影国产精品| 综合自拍亚洲综合图不卡区| 91精品欧美一区二区三区综合在| 久久99国产精品免费网站| 中文字幕一区二区不卡| 5月丁香婷婷综合| 色综合天天综合| 国产老肥熟一区二区三区| 亚洲va在线va天堂| 亚洲另类色综合网站| 久久精品亚洲一区二区三区浴池| 成人av影院在线| 亚洲va国产va欧美va观看| 欧美高清一级片在线观看| 精品久久久久一区| 欧美日韩另类国产亚洲欧美一级| 本田岬高潮一区二区三区| 国产自产v一区二区三区c| 免费观看一级欧美片| 婷婷夜色潮精品综合在线| 亚洲午夜久久久久久久久电影网 | 另类小说视频一区二区| 五月天亚洲婷婷| 石原莉奈一区二区三区在线观看| 亚洲激情欧美激情| 亚洲国产成人高清精品| 亚洲成人动漫av| 韩国女主播一区二区三区| 蜜桃视频一区二区三区| 黄一区二区三区| 成人黄色国产精品网站大全在线免费观看 | 成人性生交大合| 色综合天天性综合| 91精品国产一区二区人妖| 9191国产精品| 久久精品这里都是精品| 国产欧美一区二区精品仙草咪 | 日本三级亚洲精品| 国产精品一区久久久久| 91麻豆国产福利在线观看| 91精品国产综合久久香蕉麻豆| 日韩精品一区二区三区中文精品 | 久久精品噜噜噜成人av农村| 国产精品中文欧美| 欧美久久久一区|