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

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

?? richtext.js

?? 這是一個ajax的例子大家好好的看看就是一個魚眼的效果
?? JS
?? 第 1 頁 / 共 4 頁
字號:
if(!dojo._hasResource["dijit._editor.RichText"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.dojo._hasResource["dijit._editor.RichText"] = true;dojo.provide("dijit._editor.RichText");dojo.require("dijit._Widget");dojo.require("dijit._editor.selection");dojo.require("dijit._editor.html");dojo.require("dojo.i18n");dojo.requireLocalization("dijit.form", "Textarea", null, "zh,pt,da,tr,ru,de,ROOT,sv,ja,he,fi,nb,el,ar,pt-pt,cs,fr,es,ko,nl,zh-tw,pl,it,hu");// used to restore content when user leaves this page then comes back// but do not try doing dojo.doc.write if we are using xd loading.// dojo.doc.write will only work if RichText.js is included in the dojo.js// file. If it is included in dojo.js and you want to allow rich text saving// for back/forward actions, then set dojo.config.allowXdRichTextSave = true.if(!dojo.config["useXDomain"] || dojo.config["allowXdRichTextSave"]){	if(dojo._postLoad){		(function(){			var savetextarea = dojo.doc.createElement('textarea');			savetextarea.id = dijit._scopeName + "._editor.RichText.savedContent";			var s = savetextarea.style;			s.display='none';			s.position='absolute';			s.top="-100px";			s.left="-100px";			s.height="3px";			s.width="3px";			dojo.body().appendChild(savetextarea);		})();	}else{		//dojo.body() is not available before onLoad is fired		try{			dojo.doc.write('<textarea id="' + dijit._scopeName + '._editor.RichText.savedContent" ' +				'style="display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;"></textarea>');		}catch(e){ }	}}dojo.declare("dijit._editor.RichText", dijit._Widget, {	constructor: function(){		// summary:		//		dijit._editor.RichText is the core of the WYSIWYG editor in dojo, which		//		provides the basic editing features. It also encapsulates the differences		//		of different js engines for various browsers		//		// contentPreFilters: Array		//		pre content filter function register array.		//		these filters will be executed before the actual		//		editing area get the html content		this.contentPreFilters = [];		// contentPostFilters: Array		//		post content filter function register array.		//		these will be used on the resulting html		//		from contentDomPostFilters. The resuling		//		content is the final html (returned by getValue())		this.contentPostFilters = [];		// contentDomPreFilters: Array		//		pre content dom filter function register array.		//		these filters are applied after the result from		//		contentPreFilters are set to the editing area		this.contentDomPreFilters = [];		// contentDomPostFilters: Array		//		post content dom filter function register array.		//		these filters are executed on the editing area dom		//		the result from these will be passed to contentPostFilters		this.contentDomPostFilters = [];		// editingAreaStyleSheets: Array		//		array to store all the stylesheets applied to the editing area		this.editingAreaStyleSheets=[];		this._keyHandlers = {};		this.contentPreFilters.push(dojo.hitch(this, "_preFixUrlAttributes"));		if(dojo.isMoz){			this.contentPreFilters.push(this._fixContentForMoz);			this.contentPostFilters.push(this._removeMozBogus);		}else if(dojo.isSafari){			this.contentPostFilters.push(this._removeSafariBogus);		}		//this.contentDomPostFilters.push(this._postDomFixUrlAttributes);		this.onLoadDeferred = new dojo.Deferred();	},	// inheritWidth: Boolean	//		whether to inherit the parent's width or simply use 100%	inheritWidth: false,	// focusOnLoad: Boolean	//		whether focusing into this instance of richtext when page onload	focusOnLoad: false,	// name: String	//		If a save name is specified the content is saved and restored when the user	//		leave this page can come back, or if the editor is not properly closed after	//		editing has started.	name: "",	// styleSheets: String	//		semicolon (";") separated list of css files for the editing area	styleSheets: "",	// _content: String	//		temporary content storage	_content: "",	// height: String	//		set height to fix the editor at a specific height, with scrolling.	//		By default, this is 300px. If you want to have the editor always	//		resizes to accommodate the content, use AlwaysShowToolbar plugin	//		and set height=""	height: "300px",	// minHeight: String	//		The minimum height that the editor should have	minHeight: "1em",		// isClosed: Boolean	isClosed: true,	// isLoaded: Boolean	isLoaded: false,	// _SEPARATOR: String	//		used to concat contents from multiple textareas into a single string	_SEPARATOR: "@@**%%__RICHTEXTBOUNDRY__%%**@@",	// onLoadDeferred: dojo.Deferred	//		deferred which is fired when the editor finishes loading	onLoadDeferred: null,	postCreate: function(){		// summary: init		dojo.publish(dijit._scopeName + "._editor.RichText::init", [this]);		this.open();		this.setupDefaultShortcuts();	},	setupDefaultShortcuts: function(){		// summary: add some default key handlers		// description:		// 		Overwrite this to setup your own handlers. The default		// 		implementation does not use Editor commands, but directly		//		executes the builtin commands within the underlying browser		//		support.		var exec = function(cmd, arg){			return arguments.length == 1 ? function(){ this.execCommand(cmd); } :				function(){ this.execCommand(cmd, arg); };		};		var ctrlKeyHandlers = { b: exec("bold"),			i: exec("italic"),			u: exec("underline"),			a: exec("selectall"),			s: function(){ this.save(true); },			"1": exec("formatblock", "h1"),			"2": exec("formatblock", "h2"),			"3": exec("formatblock", "h3"),			"4": exec("formatblock", "h4"),			"\\": exec("insertunorderedlist") };		if(!dojo.isIE){			ctrlKeyHandlers.Z = exec("redo"); //FIXME: undo?		}		for(var key in ctrlKeyHandlers){			this.addKeyHandler(key, this.KEY_CTRL, ctrlKeyHandlers[key]);		}	},	// events: Array	//		 events which should be connected to the underlying editing area	events: ["onKeyPress", "onKeyDown", "onKeyUp", "onClick"],	// events: Array	//		 events which should be connected to the underlying editing	//		 area, events in this array will be addListener with	//		 capture=true	captureEvents: [],	_editorCommandsLocalized: false,	_localizeEditorCommands: function(){		if(this._editorCommandsLocalized){			return;		}		this._editorCommandsLocalized = true;		//in IE, names for blockformat is locale dependent, so we cache the values here		//if the normal way fails, we try the hard way to get the list		//do not use _cacheLocalBlockFormatNames here, as it will		//trigger security warning in IE7		//in the array below, ul can not come directly after ol,		//otherwise the queryCommandValue returns Normal for it		var formats = ['p', 'pre', 'address', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ol', 'div', 'ul'];		var localhtml = "", format, i=0;		while((format=formats[i++])){			if(format.charAt(1) != 'l'){				localhtml += "<"+format+"><span>content</span></"+format+">";			}else{				localhtml += "<"+format+"><li>content</li></"+format+">";			}		}		//queryCommandValue returns empty if we hide editNode, so move it out of screen temporary		var div=dojo.doc.createElement('div');		div.style.position = "absolute";		div.style.left = "-2000px";		div.style.top = "-2000px";		dojo.doc.body.appendChild(div);		div.innerHTML = localhtml;		var node = div.firstChild;		while(node){			dijit._editor.selection.selectElement(node.firstChild);			dojo.withGlobal(this.window, "selectElement", dijit._editor.selection, [node.firstChild]);			var nativename = node.tagName.toLowerCase();			this._local2NativeFormatNames[nativename] = dojo.doc.queryCommandValue("formatblock");//this.queryCommandValue("formatblock");			this._native2LocalFormatNames[this._local2NativeFormatNames[nativename]] = nativename;			node = node.nextSibling;		}		dojo.doc.body.removeChild(div);	},	open: function(/*DomNode?*/element){		// summary:		//		Transforms the node referenced in this.domNode into a rich text editing		//		node. This will result in the creation and replacement with an <iframe>		//		if designMode(FF)/contentEditable(IE) is used.		if((!this.onLoadDeferred)||(this.onLoadDeferred.fired >= 0)){			this.onLoadDeferred = new dojo.Deferred();		}		if(!this.isClosed){ this.close(); }		dojo.publish(dijit._scopeName + "._editor.RichText::open", [ this ]);		this._content = "";		if((arguments.length == 1)&&(element["nodeName"])){ this.domNode = element; } // else unchanged		var html;		if(	(this.domNode["nodeName"])&&			(this.domNode.nodeName.toLowerCase() == "textarea")){			// if we were created from a textarea, then we need to create a			// new editing harness node.			this.textarea = this.domNode;			this.name=this.textarea.name;			html = this._preFilterContent(this.textarea.value);			this.domNode = dojo.doc.createElement("div");			this.domNode.setAttribute('widgetId',this.id);			this.textarea.removeAttribute('widgetId');			this.domNode.cssText = this.textarea.cssText;			this.domNode.className += " "+this.textarea.className;			dojo.place(this.domNode, this.textarea, "before");			var tmpFunc = dojo.hitch(this, function(){				//some browsers refuse to submit display=none textarea, so				//move the textarea out of screen instead				dojo.attr(this.textarea, 'tabIndex', '-1');				with(this.textarea.style){					display = "block";					position = "absolute";					left = top = "-1000px";					if(dojo.isIE){ //nasty IE bug: abnormal formatting if overflow is not hidden						this.__overflow = overflow;						overflow = "hidden";					}				}			});			if(dojo.isIE){				setTimeout(tmpFunc, 10);			}else{				tmpFunc();			}			// this.domNode.innerHTML = html;//				if(this.textarea.form){//					// FIXME: port: this used to be before advice!!!//					dojo.connect(this.textarea.form, "onsubmit", this, function(){//						// FIXME: should we be calling close() here instead?//						this.textarea.value = this.getValue();//					});//				}		}else{			html = this._preFilterContent(dijit._editor.getChildrenHtml(this.domNode));			this.domNode.innerHTML = '';		}		if(html == ""){ html = "&nbsp;"; }		var content = dojo.contentBox(this.domNode);		// var content = dojo.contentBox(this.srcNodeRef);		this._oldHeight = content.h;		this._oldWidth = content.w;		// If we're a list item we have to put in a blank line to force the		// bullet to nicely align at the top of text		if(	(this.domNode["nodeName"]) &&			(this.domNode.nodeName == "LI") ){			this.domNode.innerHTML = " <br>";		}		this.editingArea = dojo.doc.createElement("div");		this.domNode.appendChild(this.editingArea);		if(this.name != "" && (!dojo.config["useXDomain"] || dojo.config["allowXdRichTextSave"])){			var saveTextarea = dojo.byId(dijit._scopeName + "._editor.RichText.savedContent");			if(saveTextarea.value != ""){				var datas = saveTextarea.value.split(this._SEPARATOR), i=0, dat;				while((dat=datas[i++])){					var data = dat.split(":");					if(data[0] == this.name){						html = data[1];						datas.splice(i, 1);						break;					}				}			}			// FIXME: need to do something different for Opera/Safari			this.connect(window, "onbeforeunload", "_saveContent");			// dojo.connect(window, "onunload", this, "_saveContent");		}		this.isClosed = false;		// Safari's selections go all out of whack if we do it inline,		// so for now IE is our only hero		//if(typeof dojo.doc.body.contentEditable != "undefined"){		if(dojo.isIE || dojo.isSafari || dojo.isOpera){ // contentEditable, easy					if(dojo.config["useXDomain"] && !dojo.config["dojoBlankHtmlUrl"]){				console.debug("dijit._editor.RichText: When using cross-domain Dojo builds,"				+ " please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"				+ " to the path on your domain to blank.html");			}			var burl = dojo.config["dojoBlankHtmlUrl"] || (dojo.moduleUrl("dojo", "resources/blank.html")+"");			var ifr = this.editorObject = this.iframe = dojo.doc.createElement('iframe');			ifr.id = this.id+"_iframe";			ifr.src = burl;			ifr.style.border = "none";			ifr.style.width = "100%";			ifr.frameBorder = 0;			// ifr.style.scrolling = this.height ? "auto" : "vertical";			this.editingArea.appendChild(ifr);			var h = null; // set later in non-ie6 branch			var loadFunc = dojo.hitch( this, function(){				if(h){ dojo.disconnect(h); h = null; }				this.window = ifr.contentWindow;				var d = this.document = this.window.document;				d.open();				d.write(this._getIframeDocTxt(html));				d.close();				if(dojo.isIE >= 7){					if(this.height){						ifr.style.height = this.height;					}					if(this.minHeight){

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲尤物在线视频观看| 亚洲综合一区二区精品导航| 色域天天综合网| 99热99精品| www.亚洲国产| 99视频国产精品| 欧美午夜精品一区二区蜜桃| 在线精品视频免费观看| 欧美日韩一区三区| 欧美日韩专区在线| 欧美一区二区三区在线观看视频| 日韩美女视频一区二区在线观看| 精品免费国产一区二区三区四区| 欧美成人官网二区| 国产日韩综合av| 欧美三级电影在线看| 99国产精品久久久久| 亚洲国产精品av| 国产日本欧洲亚洲| 18欧美乱大交hd1984| 亚洲欧美日韩电影| 午夜电影久久久| 精品一区二区三区香蕉蜜桃| 国产精品一卡二卡在线观看| 99久久久久久| 正在播放亚洲一区| 国产日韩欧美亚洲| 亚洲国产日韩一区二区| 免播放器亚洲一区| 成人黄页毛片网站| 欧美日韩精品一区二区三区| 欧美一卡二卡三卡四卡| 国产网站一区二区| 亚洲福利一二三区| 国产成人精品一区二| 欧洲精品在线观看| 久久嫩草精品久久久精品一| 亚洲一区二区在线播放相泽| 国产综合久久久久久久久久久久| 91国偷自产一区二区三区成为亚洲经典 | 欧美精品第1页| 久久久国产精品不卡| 午夜精品久久久久久| 成人免费视频国产在线观看| 欧美一区二区三区公司| 国产精品久久久久久久久晋中| 亚瑟在线精品视频| 91看片淫黄大片一级| 欧美videos中文字幕| 亚洲国产精品人人做人人爽| 岛国精品一区二区| 精品久久久久久久久久久久久久久久久| 亚洲天堂精品视频| 福利一区福利二区| 欧美不卡视频一区| 三级亚洲高清视频| 在线看一区二区| 中文字幕综合网| 国产成人精品一区二| 欧美成人官网二区| 日韩精品免费视频人成| 欧美性色黄大片手机版| 亚洲日本韩国一区| 成人动漫中文字幕| 国产欧美视频一区二区| 激情偷乱视频一区二区三区| 91精品国产综合久久国产大片| 亚洲精品视频在线| 色偷偷久久人人79超碰人人澡| 国产午夜精品久久久久久免费视| 久久99精品久久久久久国产越南| 7777精品伊人久久久大香线蕉完整版| 亚洲黄色免费网站| 精品视频1区2区| 亚洲综合无码一区二区| 色av一区二区| 亚洲国产美国国产综合一区二区| 91麻豆蜜桃一区二区三区| 亚洲天天做日日做天天谢日日欢 | 在线视频欧美区| 亚洲综合激情另类小说区| 色噜噜夜夜夜综合网| 亚洲综合一区二区精品导航| 欧美在线免费播放| 亚洲妇女屁股眼交7| 91精品黄色片免费大全| 免费美女久久99| 久久久久久久综合狠狠综合| 国产成人av电影在线播放| 欧美国产丝袜视频| 日本精品一区二区三区高清| 亚洲成人免费在线| 欧美变态tickle挠乳网站| 国产成人免费av在线| 亚洲欧美激情一区二区| 51精品视频一区二区三区| 麻豆freexxxx性91精品| 国产视频一区不卡| 色悠悠久久综合| 天堂精品中文字幕在线| 久久精品视频一区二区三区| 91在线精品一区二区三区| 午夜天堂影视香蕉久久| 久久久不卡网国产精品一区| 99久久综合精品| 日日摸夜夜添夜夜添亚洲女人| 日韩精品一区二区三区在线观看| 国产成人亚洲精品狼色在线 | 欧美日韩一区二区三区不卡| 看片的网站亚洲| 国产目拍亚洲精品99久久精品 | 亚洲成人av在线电影| 久久精品夜色噜噜亚洲a∨| 99热这里都是精品| 精品综合久久久久久8888| 国产精品久久久久久久久晋中| 欧美日韩国产综合视频在线观看| 久久99久久99精品免视看婷婷| 亚洲美女在线国产| 国产丝袜欧美中文另类| 欧美精品xxxxbbbb| 91丝袜呻吟高潮美腿白嫩在线观看| 日韩av不卡在线观看| 亚洲精品视频一区| 久久久99免费| 91精品国产综合久久久久久久| 不卡的av在线播放| 韩国精品在线观看| 偷窥少妇高潮呻吟av久久免费| 国产女人18毛片水真多成人如厕 | 九九九精品视频| 亚洲国产精品麻豆| 亚洲人成精品久久久久| 久久在线观看免费| 日韩精品影音先锋| 欧美一区二区三区啪啪| 欧洲国产伦久久久久久久| 成人动漫一区二区三区| 国产一区视频网站| 美女mm1313爽爽久久久蜜臀| 日韩中文字幕91| 亚洲宅男天堂在线观看无病毒 | 91黄色在线观看| 成人激情动漫在线观看| 国产精品一卡二| 懂色一区二区三区免费观看| 国产一区二区主播在线| 免费在线视频一区| 麻豆久久一区二区| 激情图区综合网| 国产剧情一区在线| 国产福利精品导航| 国产福利一区二区三区视频| 黄色成人免费在线| 国产成人精品免费看| 国产成人av电影在线| 成人午夜av在线| av福利精品导航| 94-欧美-setu| 欧美日韩亚洲国产综合| 欧美裸体一区二区三区| 在线成人av影院| 2024国产精品| 欧美国产一区二区| 亚洲免费伊人电影| 午夜视频在线观看一区二区| 美女www一区二区| 国产高清精品久久久久| 99综合电影在线视频| 日韩欧美在线综合网| 日韩精品在线看片z| 久久久不卡网国产精品二区| 欧美国产综合一区二区| 一区二区不卡在线视频 午夜欧美不卡在| 亚洲精选免费视频| 青青草国产精品亚洲专区无| 国产一区在线视频| 99久久久国产精品免费蜜臀| 色妞www精品视频| 日韩欧美另类在线| 亚洲欧洲日韩女同| 天天综合色天天综合| 国产精品亚洲а∨天堂免在线| 99久久99久久久精品齐齐| 69成人精品免费视频| 日本一区二区三区视频视频| 亚洲国产一区二区三区| 国产伦精一区二区三区| 欧美影院午夜播放| 久久久亚洲国产美女国产盗摄| 亚洲精品视频一区| 国产高清不卡一区二区| 欧美日韩卡一卡二| 亚洲国产高清不卡| 偷窥少妇高潮呻吟av久久免费| 国产精品伊人色| 欧美日韩精品免费观看视频| 欧美国产日韩一二三区| 狂野欧美性猛交blacked| 色噜噜久久综合|