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

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

?? fckeditor.js

?? LazyCMS 是一款小巧、高效、人性化的開源內容管理系統;基于PHP5開發
?? JS
字號:
/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * This is the integration file for JavaScript.
 *
 * It defines the FCKeditor class that can be used to create editor
 * instances in a HTML page in the client side. For server side
 * operations, use the specific integration system.
 */

// FCKeditor Class
var FCKeditor = function( instanceName, width, height, toolbarSet, value )
{
	// Properties
	this.InstanceName	= instanceName ;
	this.Width			= width			|| '100%' ;
	this.Height			= height		|| '200' ;
	this.ToolbarSet		= toolbarSet	|| 'Default' ;
	this.Value			= value			|| '' ;
	this.BasePath		= FCKeditor.BasePath ;
	this.CheckBrowser	= true ;
	this.DisplayErrors	= true ;

	this.Config			= new Object() ;

	// Events
	this.OnError		= null ;	// function( source, errorNumber, errorDescription )
}

/**
 * This is the default BasePath used by all editor instances.
 */
FCKeditor.BasePath = '/fckeditor/' ;

/**
 * The minimum height used when replacing textareas.
 */
FCKeditor.MinHeight = 200 ;

/**
 * The minimum width used when replacing textareas.
 */
FCKeditor.MinWidth = 750 ;

FCKeditor.prototype.Version			= '2.6' ;
FCKeditor.prototype.VersionBuild	= '18638' ;

FCKeditor.prototype.Create = function()
{
	document.write( this.CreateHtml() ) ;
}

FCKeditor.prototype.CreateHtml = function()
{
	// Check for errors
	if ( !this.InstanceName || this.InstanceName.length == 0 )
	{
		this._ThrowError( 701, 'You must specify an instance name.' ) ;
		return '' ;
	}

	var sHtml = '' ;

	if ( !this.CheckBrowser || this._IsCompatibleBrowser() )
	{
		sHtml += '<input type="hidden" id="' + this.InstanceName + '" name="' + this.InstanceName + '" value="' + this._HTMLEncode( this.Value ) + '" style="display:none" />' ;
		sHtml += this._GetConfigHtml() ;
		sHtml += this._GetIFrameHtml() ;
	}
	else
	{
		var sWidth  = this.Width.toString().indexOf('%')  > 0 ? this.Width  : this.Width  + 'px' ;
		var sHeight = this.Height.toString().indexOf('%') > 0 ? this.Height : this.Height + 'px' ;
		sHtml += '<textarea name="' + this.InstanceName + '" rows="4" cols="40" style="width:' + sWidth + ';height:' + sHeight + '">' + this._HTMLEncode( this.Value ) + '<\/textarea>' ;
	}

	return sHtml ;
}

FCKeditor.prototype.ReplaceTextarea = function()
{
	if ( !this.CheckBrowser || this._IsCompatibleBrowser() )
	{
		// We must check the elements firstly using the Id and then the name.
		var oTextarea = document.getElementById( this.InstanceName ) ;
		var colElementsByName = document.getElementsByName( this.InstanceName ) ;
		var i = 0;
		while ( oTextarea || i == 0 )
		{
			if ( oTextarea && oTextarea.tagName.toLowerCase() == 'textarea' )
				break ;
			oTextarea = colElementsByName[i++] ;
		}

		if ( !oTextarea )
		{
			alert( 'Error: The TEXTAREA with id or name set to "' + this.InstanceName + '" was not found' ) ;
			return ;
		}

		oTextarea.style.display = 'none' ;
		this._InsertHtmlBefore( this._GetConfigHtml(), oTextarea ) ;
		this._InsertHtmlBefore( this._GetIFrameHtml(), oTextarea ) ;
	}
}

FCKeditor.prototype._InsertHtmlBefore = function( html, element )
{
	if ( element.insertAdjacentHTML )	// IE
		element.insertAdjacentHTML( 'beforeBegin', html ) ;
	else								// Gecko
	{
		var oRange = document.createRange() ;
		oRange.setStartBefore( element ) ;
		var oFragment = oRange.createContextualFragment( html );
		element.parentNode.insertBefore( oFragment, element ) ;
	}
}

FCKeditor.prototype._GetConfigHtml = function()
{
	var sConfig = '' ;
	for ( var o in this.Config )
	{
		if ( sConfig.length > 0 ) sConfig += '&amp;' ;
		sConfig += encodeURIComponent( o ) + '=' + encodeURIComponent( this.Config[o] ) ;
	}

	return '<input type="hidden" id="' + this.InstanceName + '___Config" value="' + sConfig + '" style="display:none" />' ;
}

FCKeditor.prototype._GetIFrameHtml = function()
{
	var sFile = 'fckeditor.html' ;

	var sLink = this.BasePath + 'editor/' + sFile + '?InstanceName=' + encodeURIComponent( this.InstanceName ) ;
	if (this.ToolbarSet) sLink += '&amp;Toolbar=' + this.ToolbarSet ;

	return '<iframe id="' + this.InstanceName + '___Frame" src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="0" scrolling="no"></iframe>' ;
}

FCKeditor.prototype._IsCompatibleBrowser = function()
{
	return FCKeditor_IsCompatibleBrowser() ;
}

FCKeditor.prototype._ThrowError = function( errorNumber, errorDescription )
{
	this.ErrorNumber		= errorNumber ;
	this.ErrorDescription	= errorDescription ;

	if ( this.DisplayErrors )
	{
		document.write( '<div style="COLOR: #ff0000">' ) ;
		document.write( '[ FCKeditor Error ' + this.ErrorNumber + ': ' + this.ErrorDescription + ' ]' ) ;
		document.write( '</div>' ) ;
	}

	if ( typeof( this.OnError ) == 'function' )
		this.OnError( this, errorNumber, errorDescription ) ;
}

FCKeditor.prototype._HTMLEncode = function( text )
{
	if ( typeof( text ) != "string" )
		text = text.toString() ;

	text = text.replace(
		/&/g, "&amp;").replace(
		/"/g, "&quot;").replace(
		/</g, "&lt;").replace(
		/>/g, "&gt;") ;

	return text ;
}

;(function()
{
	var textareaToEditor = function( textarea )
	{
		var editor = new FCKeditor( textarea.name ) ;

		editor.Width = Math.max( textarea.offsetWidth, FCKeditor.MinWidth ) ;
		editor.Height = Math.max( textarea.offsetHeight, FCKeditor.MinHeight ) ;

		return editor ;
	}

	/**
	 * Replace all <textarea> elements available in the document with FCKeditor
	 * instances.
	 *
	 *	// Replace all <textarea> elements in the page.
	 *	FCKeditor.ReplaceAllTextareas() ;
	 *
	 *	// Replace all <textarea class="myClassName"> elements in the page.
	 *	FCKeditor.ReplaceAllTextareas( 'myClassName' ) ;
	 *
	 *	// Selectively replace <textarea> elements, based on custom assertions.
	 *	FCKeditor.ReplaceAllTextareas( function( textarea, editor )
	 *		{
	 *			// Custom code to evaluate the replace, returning false if it
	 *			// must not be done.
	 *			// It also passes the "editor" parameter, so the developer can
	 *			// customize the instance.
	 *		} ) ;
	 */
	FCKeditor.ReplaceAllTextareas = function()
	{
		var textareas = document.getElementsByTagName( 'textarea' ) ;

		for ( var i = 0 ; i < textareas.length ; i++ )
		{
			var editor = null ;
			var textarea = textareas[i] ;
			var name = textarea.name ;

			// The "name" attribute must exist.
			if ( !name || name.length == 0 )
				continue ;

			if ( typeof arguments[0] == 'string' )
			{
				// The textarea class name could be passed as the function
				// parameter.

				var classRegex = new RegExp( '(?:^| )' + arguments[0] + '(?:$| )' ) ;

				if ( !classRegex.test( textarea.className ) )
					continue ;
			}
			else if ( typeof arguments[0] == 'function' )
			{
				// An assertion function could be passed as the function parameter.
				// It must explicitly return "false" to ignore a specific <textarea>.
				editor = textareaToEditor( textarea ) ;
				if ( arguments[0]( textarea, editor ) === false )
					continue ;
			}

			if ( !editor )
				editor = textareaToEditor( textarea ) ;

			editor.ReplaceTextarea() ;
		}
	}
})() ;

function FCKeditor_IsCompatibleBrowser()
{
	var sAgent = navigator.userAgent.toLowerCase() ;

	// Internet Explorer 5.5+
	if ( /*@cc_on!@*/false && sAgent.indexOf("mac") == -1 )
	{
		var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ;
		return ( sBrowserVersion >= 5.5 ) ;
	}

	// Gecko (Opera 9 tries to behave like Gecko at this point).
	if ( navigator.product == "Gecko" && navigator.productSub >= 20030210 && !( typeof(opera) == 'object' && opera.postError ) )
		return true ;

	// Opera 9.50+
	if ( window.opera && window.opera.version && parseFloat( window.opera.version() ) >= 9.5 )
		return true ;

	// Adobe AIR
	// Checked before Safari because AIR have the WebKit rich text editor
	// features from Safari 3.0.4, but the version reported is 420.
	if ( sAgent.indexOf( ' adobeair/' ) != -1 )
		return ( sAgent.match( / adobeair\/(\d+)/ )[1] >= 1 ) ;	// Build must be at least v1

	// Safari 3+
	if ( sAgent.indexOf( ' applewebkit/' ) != -1 )
		return ( sAgent.match( / applewebkit\/(\d+)/ )[1] >= 522 ) ;	// Build must be at least 522 (v3)

	return false ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区免费| 一级精品视频在线观看宜春院| 久久精品欧美一区二区三区不卡| 亚洲视频一区在线| 国内精品在线播放| 色哟哟国产精品| 精品电影一区二区| 亚洲国产日韩精品| 99re这里都是精品| 国产女主播一区| 蜜臀av性久久久久蜜臀aⅴ流畅| 91在线一区二区三区| 久久久99精品免费观看不卡| 日日摸夜夜添夜夜添精品视频| 91亚洲精品一区二区乱码| 国产日韩精品一区| 激情综合网av| 日韩亚洲欧美成人一区| 亚洲成av人片www| 在线国产亚洲欧美| 伊人色综合久久天天人手人婷| 国产很黄免费观看久久| 精品国产精品一区二区夜夜嗨 | 成人黄色软件下载| 精品久久久久久久久久久久久久久久久 | 国产精品18久久久久久vr| 在线观看精品一区| 一区二区在线免费观看| 国产69精品久久久久毛片| 久久人人97超碰com| 捆绑调教美女网站视频一区| 91麻豆精品国产91久久久久| 亚洲自拍偷拍av| 欧美亚男人的天堂| 亚洲综合一区二区| 欧美日韩精品一区二区天天拍小说| 亚洲欧美日韩国产一区二区三区| bt欧美亚洲午夜电影天堂| 国产精品久久看| 99国产精品国产精品毛片| 中文字幕一区二区不卡 | 麻豆成人免费电影| 日韩欧美另类在线| 国产乱码字幕精品高清av| 亚洲美女精品一区| 1区2区3区欧美| 成人a区在线观看| 亚洲人快播电影网| 欧美在线视频日韩| 青娱乐精品视频| 久久久久国产精品麻豆ai换脸 | 亚洲欧美激情一区二区| 日本黄色一区二区| 三级在线观看一区二区| 久久综合成人精品亚洲另类欧美| 国产寡妇亲子伦一区二区| 日韩理论片网站| 欧美日韩一级片在线观看| 日韩精彩视频在线观看| 久久久蜜臀国产一区二区| 99精品国产99久久久久久白柏| 有坂深雪av一区二区精品| 欧美日韩黄视频| 国产一区二区在线视频| 亚洲欧美视频在线观看视频| 欧美日韩国产成人在线91| 精品一二三四在线| 亚洲精品一二三四区| 91精品欧美久久久久久动漫| 国产成人av资源| 亚洲国产精品嫩草影院| 国产亚洲一区二区三区四区| 色婷婷精品久久二区二区蜜臂av | 国产欧美一区二区在线观看| 91在线一区二区三区| 日韩av在线免费观看不卡| 欧美经典一区二区三区| 欧美日韩一级黄| 成人av电影在线观看| 日韩成人精品视频| 中文字幕在线一区| 精品国产91久久久久久久妲己| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 精品视频在线免费观看| 国产在线视频不卡二| 亚洲影视在线播放| 国产精品美女一区二区在线观看| 337p亚洲精品色噜噜噜| 色综合久久中文字幕综合网| 国产一区二区三区久久久| 亚洲电影激情视频网站| 中国色在线观看另类| 欧美变态口味重另类| 欧美午夜电影在线播放| 99视频精品在线| 国产成人精品免费看| 黄色精品一二区| 粉嫩久久99精品久久久久久夜| 久久精品国产77777蜜臀| 亚洲成人免费看| 一级精品视频在线观看宜春院| 国产精品私人自拍| 2023国产精品自拍| 日韩欧美在线一区二区三区| 欧美日韩一区二区欧美激情| 91福利视频在线| 色欧美片视频在线观看在线视频| 不卡的电视剧免费网站有什么| 国产在线国偷精品产拍免费yy| 日本va欧美va欧美va精品| 亚洲国产人成综合网站| 亚洲影视在线播放| 亚洲va欧美va人人爽午夜| 亚洲一区免费观看| 亚洲图片欧美色图| 亚洲va欧美va人人爽午夜| 亚洲成人先锋电影| 日韩在线观看一区二区| 日韩不卡一区二区| 老司机精品视频导航| 久久狠狠亚洲综合| 国产在线精品不卡| 成人爱爱电影网址| 99精品一区二区| 91高清在线观看| 337p亚洲精品色噜噜狠狠| 日韩视频永久免费| 精品免费视频.| 欧美激情一二三区| 亚洲人精品午夜| 亚洲gay无套男同| 青草国产精品久久久久久| 黄网站免费久久| 成人av免费在线播放| 91搞黄在线观看| 91麻豆精品国产无毒不卡在线观看 | 欧美日韩国产一区二区三区地区| 欧美日韩精品免费| 精品国产伦一区二区三区观看方式 | 欧美一区二区国产| 久久久精品免费网站| 亚洲色图.com| 日日欢夜夜爽一区| 国产91精品一区二区麻豆亚洲| 91亚洲大成网污www| 69堂亚洲精品首页| 国产片一区二区三区| 悠悠色在线精品| 久久99热这里只有精品| 不卡一区二区在线| 日韩一本二本av| 久久aⅴ国产欧美74aaa| 成人免费毛片片v| 欧美日韩aaa| 国产欧美久久久精品影院 | 国产欧美日韩在线观看| 亚洲影院理伦片| 国产成人av电影免费在线观看| 欧美亚洲国产一区在线观看网站| 91精品一区二区三区在线观看| 中文字幕免费不卡| 丝袜国产日韩另类美女| 成人免费视频视频| 日韩视频免费观看高清完整版在线观看 | 午夜精品视频一区| 国产成人综合在线播放| 欧美日本不卡视频| 国产精品电影院| 久草精品在线观看| 欧美色综合久久| 国产精品色在线| 久久99蜜桃精品| 精品视频免费看| 成人免费视频在线观看| 国产最新精品免费| 欧美丰满少妇xxxbbb| 日韩久久一区二区| 成人在线一区二区三区| 欧美电影免费观看高清完整版 | 日本精品视频一区二区| 26uuu久久天堂性欧美| 天天综合色天天综合色h| 99视频在线精品| 国产欧美精品日韩区二区麻豆天美| www.欧美日韩| 国产视频一区二区在线| 美日韩一区二区| 欧美精品tushy高清| 一区二区在线观看不卡| 成人深夜在线观看| 久久久精品蜜桃| 黄色成人免费在线| 欧美大片拔萝卜| 男女男精品视频网| 欧美精品99久久久**| 亚洲国产视频一区二区| 在线视频综合导航| 亚洲精品乱码久久久久久久久 | 国产欧美一区二区精品秋霞影院| 全国精品久久少妇|