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

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

?? fckeditor.js

?? 一個簡單的記事本 可以標記5種主題的顏色 并采用txt存儲數據 CSS無圖片美化 只有一個頁面 并可以任意修改.jsp前的名字
?? 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' ;

	try
	{
		if ( (/fcksource=true/i).test( window.top.location.search ) )
			sFile = 'fckeditor.original.html' ;
	}
	catch (e) { /* Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error). */ }

	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一区二区三区免费野_久草精品视频
亚洲欧美日韩久久| 欧美三级日本三级少妇99| 亚洲人快播电影网| 在线成人av网站| 国产91清纯白嫩初高中在线观看 | 亚洲精品美国一| 日韩午夜激情电影| 99久久免费精品高清特色大片| 亚洲电影你懂得| 中文字幕亚洲区| 久久久久久久久久久久久久久99 | 成人美女在线视频| 日日夜夜精品视频免费| 亚洲私人黄色宅男| 久久久午夜电影| 日韩视频在线一区二区| 在线日韩国产精品| 成人动漫视频在线| 国产美女在线观看一区| 日韩精品一级二级 | 久久精品一区二区三区不卡牛牛| 欧美性大战久久| 97久久精品人人做人人爽| 精品在线一区二区| 亚洲超碰精品一区二区| 最新国产成人在线观看| 国产欧美精品区一区二区三区| 日韩一区二区影院| 欧美日韩国产区一| 91豆麻精品91久久久久久| 成人av先锋影音| 国产999精品久久| 国产精品 欧美精品| 紧缚奴在线一区二区三区| 免费亚洲电影在线| 日本强好片久久久久久aaa| 亚洲国产视频一区二区| 亚洲一区二区综合| 亚洲欧美日韩电影| 亚洲欧美激情一区二区| 中文字幕乱码日本亚洲一区二区| 2022国产精品视频| 久久久国产一区二区三区四区小说| 91精品国产高清一区二区三区 | 亚洲国产精品麻豆| 又紧又大又爽精品一区二区| 亚洲视频你懂的| 日韩一区在线看| 国产精品每日更新| 中文字幕一区二区三区视频| 国产欧美精品在线观看| 国产精品免费久久久久| 日韩美女久久久| 一区二区三区美女视频| 香蕉乱码成人久久天堂爱免费| 亚洲v日本v欧美v久久精品| 天天色 色综合| 日本不卡一区二区三区高清视频| 免费观看日韩av| 国产一区二区在线免费观看| 国产91对白在线观看九色| 99久久99久久久精品齐齐| 91免费视频网址| 在线成人免费观看| 2024国产精品| 亚洲欧洲日韩女同| 亚洲亚洲精品在线观看| 日韩av电影免费观看高清完整版在线观看 | 高清久久久久久| 色综合天天综合狠狠| 国产欧美一区二区在线| 国产精品拍天天在线| 亚洲自拍与偷拍| 青青草国产成人99久久| 国模大尺度一区二区三区| 波多野结衣在线一区| 欧美午夜精品久久久久久超碰| 51久久夜色精品国产麻豆| 久久久久国产精品人| 亚洲三级久久久| 青青草国产精品亚洲专区无| 国产福利一区二区| 欧美综合在线视频| 日韩限制级电影在线观看| 亚洲国产精品精华液2区45| 亚洲无线码一区二区三区| 久久99久久久久| 91美女视频网站| 日韩免费在线观看| 亚洲欧美另类图片小说| 久久99精品一区二区三区| 色哟哟国产精品免费观看| 日韩精品一区在线观看| 亚洲人成电影网站色mp4| 奇米综合一区二区三区精品视频| 国产91富婆露脸刺激对白| 91精品久久久久久久久99蜜臂| 亚洲国产成人在线| 日韩国产精品久久久久久亚洲| 不卡的av电影在线观看| 欧美成人精品高清在线播放| 成人欧美一区二区三区1314| 毛片不卡一区二区| 欧美天堂亚洲电影院在线播放| 久久久久久久精| 日韩国产精品91| 91免费国产视频网站| 久久伊人蜜桃av一区二区| 亚洲不卡一区二区三区| 91免费版在线看| 日本一二三不卡| 国产在线精品免费| 欧美日韩成人高清| 亚洲一区在线视频| 成人激情动漫在线观看| 精品国产一区二区三区久久影院| 亚洲一区二区黄色| 成人在线综合网站| 精品伦理精品一区| 奇米四色…亚洲| 欧美主播一区二区三区美女| 中文字幕av一区二区三区| 极品销魂美女一区二区三区| 欧美一区午夜视频在线观看| 亚洲综合在线第一页| 91在线国产福利| 国产精品日韩成人| 国产精品99久久久久久宅男| 精品久久久久久久久久久久久久久 | 成人av在线一区二区| 精品理论电影在线观看| 日本不卡一二三| 69堂成人精品免费视频| 午夜激情一区二区| 欧美老肥妇做.爰bbww视频| 亚洲精品国产成人久久av盗摄| youjizz国产精品| 欧美国产精品专区| 成人性生交大片免费| 国产欧美日韩精品在线| 国产成人免费视频精品含羞草妖精 | 亚洲一区二区美女| 欧美性生活一区| 亚洲成人午夜电影| 欧美日韩精品系列| 天堂av在线一区| 久久天堂av综合合色蜜桃网| 午夜精品久久久久| 在线播放视频一区| 久久电影网站中文字幕| 精品噜噜噜噜久久久久久久久试看| 国产资源精品在线观看| 精品国产第一区二区三区观看体验| 韩国v欧美v亚洲v日本v| 久久久久久久久久看片| 成人18视频在线播放| 亚洲欧美日韩一区| 欧美卡1卡2卡| 加勒比av一区二区| 国产精品色婷婷久久58| 色偷偷久久人人79超碰人人澡| 亚洲综合在线观看视频| 91精品国产色综合久久不卡蜜臀| 久久精品国产澳门| 国产欧美一区二区三区沐欲| 99热这里都是精品| 亚洲一线二线三线视频| 日韩一区二区免费在线电影| 国产精品自产自拍| 国产精品国产a级| 欧美视频一区在线观看| 日本麻豆一区二区三区视频| 精品久久五月天| 成人一区二区三区| 亚洲免费观看高清在线观看| 在线观看国产91| 日韩电影在线观看网站| 国产欧美一区二区三区在线老狼| 一本色道久久加勒比精品| 日本伊人精品一区二区三区观看方式| 日韩欧美国产精品| 成人午夜精品一区二区三区| 怡红院av一区二区三区| 日韩精品中文字幕一区| 色综合天天做天天爱| 捆绑变态av一区二区三区| 亚洲情趣在线观看| 69p69国产精品| 成人av影院在线| 五月综合激情网| 国产精品久久综合| 欧美日韩国产另类不卡| 丰满亚洲少妇av| 日韩电影网1区2区| 国产精品久久久久影院| 欧美一级在线观看| 色吧成人激情小说| 国产精品一二三在| 午夜成人在线视频| 亚洲人成网站影音先锋播放|