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

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

?? fckeditor.js

?? java+MySQL小型BBS留言板系統
?? JS
字號:
/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2007 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/' ;
	this.CheckBrowser	= true ;
	this.DisplayErrors	= true ;
	this.EnableSafari	= false ;		// This is a temporary property, while Safari support is under development.
	this.EnableOpera	= false ;		// This is a temporary property, while Opera support is under development.

	this.Config			= new Object() ;

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

FCKeditor.prototype.Version			= '2.4.3' ;
FCKeditor.prototype.VersionBuild	= '15657' ;

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 = '<div>' ;

	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>' ;
	}

	sHtml += '</div>' ;

	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( this.EnableSafari, this.EnableOpera ) ;
}

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 FCKeditor_IsCompatibleBrowser( enableSafari, enableOpera )
{
	var sAgent = navigator.userAgent.toLowerCase() ;

	// Internet Explorer
	if ( sAgent.indexOf("msie") != -1 && sAgent.indexOf("mac") == -1 && sAgent.indexOf("opera") == -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
	if ( enableOpera && sAgent.indexOf( 'opera' ) == 0 && parseInt( navigator.appVersion, 10 ) >= 9 )
			return true ;

	// Safari
	if ( enableSafari && sAgent.indexOf( 'safari' ) != -1 )
		return ( sAgent.match( /safari\/(\d+)/ )[1] >= 312 ) ;	// Build must be at least 312 (1.3)

	return false ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩一区久久| 成人黄色777网| 国产综合久久久久久鬼色| 韩国av一区二区三区四区 | 奇米色777欧美一区二区| 精品无码三级在线观看视频| 国产乱子轮精品视频| 美女诱惑一区二区| 懂色av一区二区三区蜜臀| 在线看不卡av| 国产精品乱码人人做人人爱| 亚洲国产另类av| 一区二区三区欧美| 美国十次了思思久久精品导航| 韩国午夜理伦三级不卡影院| 91免费小视频| 国产亚洲成av人在线观看导航| 一区二区视频在线| 国产一区欧美一区| 欧美精品久久久久久久多人混战| 国产亚洲一区二区在线观看| 一区二区三区日韩| 五月天亚洲精品| av网站免费线看精品| 精品毛片乱码1区2区3区| 一区二区三区在线视频播放 | 婷婷亚洲久悠悠色悠在线播放| 国产一级精品在线| 日本高清成人免费播放| 26uuu欧美日本| 国产福利精品一区二区| 色天天综合色天天久久| 久久久www成人免费毛片麻豆 | 国产一级精品在线| 制服丝袜日韩国产| 国产亚洲精品bt天堂精选| 亚洲国产人成综合网站| 99久久久无码国产精品| 国产夜色精品一区二区av| 婷婷综合五月天| 欧美男女性生活在线直播观看| 亚洲欧洲日韩av| 久久精品国产澳门| 丰满少妇在线播放bd日韩电影| 精品国产1区2区3区| 免费成人在线观看视频| 欧美浪妇xxxx高跟鞋交| 午夜精品成人在线视频| 欧美三级日韩三级| 亚洲伦在线观看| 国内精品久久久久影院色| 精品成人一区二区| 国产又黄又大久久| 欧美经典一区二区| jvid福利写真一区二区三区| 国产精品短视频| 国产大陆精品国产| 国产亚洲精品bt天堂精选| 岛国精品在线观看| 亚洲国产精品天堂| 欧美一区二区三区四区在线观看| 午夜私人影院久久久久| 欧美理论片在线| 卡一卡二国产精品| 欧美国产禁国产网站cc| 91丝袜国产在线播放| 亚洲成人tv网| 精品日韩一区二区| 国产不卡免费视频| 国产色婷婷亚洲99精品小说| 极品美女销魂一区二区三区免费| 久久久99精品久久| 色老综合老女人久久久| 亚洲午夜av在线| 欧美大片拔萝卜| 福利一区二区在线| 亚洲成人综合视频| 成人毛片视频在线观看| 一区二区三区四区蜜桃| 69久久夜色精品国产69蝌蚪网| 久久 天天综合| 国产精品黄色在线观看| 欧美性生活久久| 午夜精品一区二区三区电影天堂 | av不卡免费电影| 亚洲一区二区影院| 欧美高清hd18日本| 日韩有码一区二区三区| 久久久久久久久一| 欧美日韩精品一区二区三区四区| 日韩激情av在线| 久久久91精品国产一区二区三区| 在线免费观看成人短视频| 精品一区二区三区av| 亚洲人成精品久久久久久| 欧美一区永久视频免费观看| 国产精品乡下勾搭老头1| 亚洲影视资源网| 久久女同精品一区二区| 欧美中文字幕久久| 国产v日产∨综合v精品视频| 亚洲成人av中文| 亚洲欧洲av一区二区三区久久| 91在线小视频| 国产精品资源站在线| 一区二区成人在线| 中文字幕av一区二区三区高| 日韩一区二区麻豆国产| 久久国产精品第一页| 中文字幕亚洲一区二区va在线| 欧美一区二区三区在线看| 99麻豆久久久国产精品免费优播| 日本美女一区二区三区| 亚洲精品高清在线| 亚洲综合在线五月| 4438x成人网最大色成网站| 欧美日韩视频不卡| 91精品国产全国免费观看| 欧美日韩国产综合一区二区| 欧美亚洲一区二区在线| 欧美视频一区二区三区四区| 精品视频在线看| 欧美一区二区精美| 欧美zozo另类异族| 国产欧美日韩在线| 国产精品久久久一本精品 | 国产乱码一区二区三区| 国产精品99久久久| 成人ar影院免费观看视频| 99国产精品99久久久久久| 欧美老女人在线| 精品国产99国产精品| 国产精品国产三级国产| 亚洲精品ww久久久久久p站| 亚洲成人久久影院| 毛片av一区二区| 成人一级视频在线观看| 一本大道久久a久久综合 | 91猫先生在线| 91精品蜜臀在线一区尤物| 欧美精品一区二区蜜臀亚洲| 国产精品久久久久三级| 天天做天天摸天天爽国产一区 | 亚洲一区在线免费观看| 天堂成人国产精品一区| 国产成人午夜视频| 欧美在线999| 久久午夜电影网| 一级做a爱片久久| 国产在线播放一区三区四| 91精彩视频在线| 26uuu国产在线精品一区二区| 中文字幕一区二区三| 日本不卡的三区四区五区| 99久久99久久精品国产片果冻 | 色综合激情久久| 欧美成人一区二区三区片免费| 国产精品第五页| 免费成人在线网站| 色香色香欲天天天影视综合网| 精品久久久久久综合日本欧美| 亚洲卡通动漫在线| 国产1区2区3区精品美女| 欧美另类z0zxhd电影| 亚洲少妇30p| 国产二区国产一区在线观看| 欧美精品日韩一区| 亚洲美女淫视频| 国产69精品一区二区亚洲孕妇| 欧美另类一区二区三区| 亚洲欧美中日韩| 国产91高潮流白浆在线麻豆| 91精品国产色综合久久ai换脸| 国产精品视频观看| 精品一区二区三区在线观看| 91久久久免费一区二区| 国产精品三级电影| 国产一二精品视频| 91精品婷婷国产综合久久性色 | 美女爽到高潮91| 在线观看国产日韩| 一区二区中文视频| 成人精品视频一区| 久久午夜电影网| 国产主播一区二区三区| 日韩欧美色综合网站| 免费成人美女在线观看.| 欧美电影免费观看完整版| 亚洲一级二级在线| 欧美亚一区二区| 亚洲精品久久久蜜桃| 99久久99久久精品免费观看| 国产精品视频yy9299一区| 韩国三级电影一区二区| 欧美电影精品一区二区| 美国毛片一区二区| 亚洲精品在线免费播放| 精品中文av资源站在线观看| 日韩欧美国产精品一区| 蜜桃av一区二区三区电影|