亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
亚洲高清免费观看高清完整版在线观看| 国产综合久久久久影院| 国产日韩精品一区| 欧美探花视频资源| 色综合久久久久| 成人av在线一区二区三区| 国产一区二区三区综合| 国产原创一区二区| 91成人免费电影| 在线一区二区观看| 欧美高清在线视频| 亚洲同性同志一二三专区| 国产精品国产三级国产aⅴ原创 | 青青青爽久久午夜综合久久午夜| 亚洲日本在线a| 精品在线一区二区| 成人一区二区三区| 91丨porny丨最新| 欧美亚洲综合在线| 亚洲欧美一区二区三区孕妇| 亚洲精品国产高清久久伦理二区| 亚洲国产日韩a在线播放性色| 成人一区二区三区中文字幕| 欧美v日韩v国产v| 日本一区二区久久| 国产乱一区二区| 日本大香伊一区二区三区| 国产精品久久久久久久久免费丝袜 | 国产日韩一级二级三级| 蜜乳av一区二区| 丁香婷婷综合色啪| 欧美日韩免费视频| 久久午夜羞羞影院免费观看| 久久久不卡影院| 亚洲午夜免费福利视频| 91玉足脚交白嫩脚丫在线播放| 国产精品人成在线观看免费| 首页欧美精品中文字幕| 国产资源在线一区| 久久夜色精品国产欧美乱极品| 精品一区免费av| 久久精品人人爽人人爽| 亚洲高清久久久| 9191久久久久久久久久久| 国产午夜精品一区二区| 国产成人综合网| 91精品国产免费| 亚洲人成人一区二区在线观看 | 国产伦理精品不卡| 久久综合狠狠综合久久激情| 国产成人精品免费网站| 国产精品理论在线观看| 91黄视频在线| 日本麻豆一区二区三区视频| 色菇凉天天综合网| 亚洲成人久久影院| 91浏览器在线视频| 午夜欧美电影在线观看| 色先锋aa成人| 麻豆精品蜜桃视频网站| 国产日韩欧美a| 欧美色网一区二区| 精品一区二区三区在线播放 | 亚洲欧洲另类国产综合| 成人欧美一区二区三区小说 | 亚洲午夜久久久| 亚洲人成精品久久久久| 欧美吻胸吃奶大尺度电影| 日本怡春院一区二区| 国产欧美日韩亚州综合| 欧美日韩美女一区二区| 亚洲欧洲韩国日本视频| 欧美精品少妇一区二区三区| 夜夜揉揉日日人人青青一国产精品 | 欧美变态tickle挠乳网站| 国产91富婆露脸刺激对白| 亚洲国产中文字幕在线视频综合| 欧美精品一区二区三| 美女视频一区二区| 136国产福利精品导航| 欧美大片一区二区| 久久精品国产精品亚洲综合| 欧美精品aⅴ在线视频| 懂色av一区二区夜夜嗨| 日本大胆欧美人术艺术动态| 亚洲欧美一区二区三区极速播放| 欧美电影免费提供在线观看| 日本高清不卡视频| 国产成人精品三级| 久久超碰97中文字幕| 亚瑟在线精品视频| 亚洲免费av网站| 国产免费久久精品| 精品福利在线导航| 8x8x8国产精品| 欧美亚洲动漫另类| 91蜜桃婷婷狠狠久久综合9色| 国产一区二区看久久| 美女视频黄 久久| 亚洲bdsm女犯bdsm网站| 亚洲精品免费在线观看| 国产精品丝袜一区| 久久久国际精品| 精品国产一区二区三区久久久蜜月| 欧美日韩精品高清| 在线观看一区二区精品视频| 日韩不卡手机在线v区| 伊人一区二区三区| 最新日韩av在线| 中文字幕一区二区三区乱码在线| 国产色产综合色产在线视频| 精品国产区一区| 精品国产1区2区3区| 精品盗摄一区二区三区| 精品久久久久一区| 欧美精品一区男女天堂| 精品国产91久久久久久久妲己| 欧美mv日韩mv国产网站| 精品入口麻豆88视频| 亚洲精品一区二区三区99| 久久亚洲精华国产精华液| 亚洲精品一区二区三区在线观看| 欧美电影免费观看高清完整版在线 | 激情久久久久久久久久久久久久久久| 日日骚欧美日韩| 日本三级亚洲精品| 蜜桃视频在线观看一区| 精品一区二区三区免费播放| 国模冰冰炮一区二区| 成人综合激情网| 99麻豆久久久国产精品免费优播| 午夜私人影院久久久久| 青青草成人在线观看| 激情偷乱视频一区二区三区| 国产v综合v亚洲欧| 99精品在线观看视频| 国产一区二区三区在线观看精品| 国产精品白丝jk黑袜喷水| 不卡在线视频中文字幕| 一本色道久久加勒比精品| 欧美日韩国产首页| 精品国产91洋老外米糕| 国产精品电影一区二区三区| 亚洲国产一二三| 韩国女主播一区二区三区| 成人黄色电影在线 | 另类小说视频一区二区| 国产精品一区专区| 色综合视频一区二区三区高清| 4hu四虎永久在线影院成人| 久久精子c满五个校花| 亚洲综合无码一区二区| 中文字幕欧美一区| 日本美女一区二区三区视频| 国产麻豆午夜三级精品| 91久久免费观看| 精品国产麻豆免费人成网站| 亚洲色图视频网站| 激情综合亚洲精品| 欧美亚洲国产一区二区三区| 欧美xingq一区二区| 一级中文字幕一区二区| 国产精品自拍一区| 欧美日韩国产小视频| 欧美国产欧美综合| 蜜桃精品在线观看| 色哟哟在线观看一区二区三区| 欧美精品一区二区三区蜜桃| 亚洲电影视频在线| av在线播放成人| 久久蜜桃av一区精品变态类天堂| 亚洲综合免费观看高清完整版在线 | aaa欧美大片| 欧美不卡一区二区| 性感美女久久精品| 91视频你懂的| 国产喂奶挤奶一区二区三区 | 玉足女爽爽91| 成人免费视频一区二区| 精品国产一区二区亚洲人成毛片| 亚洲在线成人精品| 99国产精品久久久久久久久久| 久久久久久久久岛国免费| 日韩福利视频网| 欧美日韩视频专区在线播放| 免费久久精品视频| 欧美午夜宅男影院| 亚洲精品你懂的| 91欧美一区二区| 国产精品女主播av| 成人小视频在线| 欧美国产在线观看| 国产成人欧美日韩在线电影| 精品理论电影在线观看| 美女一区二区三区| 精品国产sm最大网站| 久久er精品视频| 欧美精品一区二区三区在线| 韩国av一区二区| 国产亲近乱来精品视频|