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

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

?? fckeditingarea.js

?? 很好的JSP帶碼 有好東西大家共同分享 適合想學JSP網站建設的同志。
?? JS
字號:
?/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
 * 
 * Licensed under the terms of the GNU Lesser General Public License:
 * 		http://www.opensource.org/licenses/lgpl-license.php
 * 
 * For further information visit:
 * 		http://www.fckeditor.net/
 * 
 * "Support Open Source software. What about a donation today?"
 * 
 * File Name: fckeditingarea.js
 * 	FCKEditingArea Class: renders an editable area.
 * 
 * File Authors:
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
 */

/**
 * @constructor
 * @param {String} targetElement The element that will hold the editing area. Any child element present in the target will be deleted.
 */
var FCKEditingArea = function( targetElement )
{
	this.TargetElement = targetElement ;
	this.Mode = FCK_EDITMODE_WYSIWYG ;

	if ( FCK.IECleanup )
		FCK.IECleanup.AddItem( this, FCKEditingArea_Cleanup ) ;
}


/**
 * @param {String} html The complete HTML for the page, including DOCTYPE and the <html> tag.
 */
FCKEditingArea.prototype.Start = function( html, secondCall )
{
	var eTargetElement	= this.TargetElement ;
	var oTargetDocument	= FCKTools.GetElementDocument( eTargetElement ) ;
	
	// Remove all child nodes from the target.
	while( eTargetElement.childNodes.length > 0 )
		eTargetElement.removeChild( eTargetElement.childNodes[0] ) ;

	if ( this.Mode == FCK_EDITMODE_WYSIWYG )
	{
		if ( FCKBrowserInfo.IsGecko )
			html = html.replace( /(<body[^>]*>)\s*(<\/body>)/i, '$1' + GECKO_BOGUS + '$2' ) ;
	
		// Create the editing area IFRAME.
		var oIFrame = this.IFrame = oTargetDocument.createElement( 'iframe' ) ;
		oIFrame.src = 'javascript:void(0)' ;
		oIFrame.frameBorder = 0 ;
		oIFrame.width = oIFrame.height = '100%' ;
		
		// Append the new IFRAME to the target.
		eTargetElement.appendChild( oIFrame ) ;
		
		// IE has a bug with the <base> tag... it must have a </base> closer,
		// otherwise the all sucessive tags will be set as children nodes of the <base>.
		if ( FCKBrowserInfo.IsIE )
			html = html.replace( /(<base[^>]*?)\s*\/?>(?!\s*<\/base>)/gi, '$1></base>' ) ;

		// Get the window and document objects used to interact with the newly created IFRAME.
		this.Window = oIFrame.contentWindow ;
		
		// IE: Avoid JavaScript errors thrown by the editing are source (like tags events).
		// TODO: This error handler is not being fired.
		// this.Window.onerror = function() { alert( 'Error!' ) ; return true ; }

		var oDoc = this.Document = this.Window.document ;
		
		oDoc.open() ;
		oDoc.write( html ) ;
		oDoc.close() ;
		
		// Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it
		// will magicaly work.
		if ( FCKBrowserInfo.IsGecko10 && !secondCall )
		{
			this.Start( html, true ) ;
			return ;
		}
		
		this.Window._FCKEditingArea = this ;
		
		// FF 1.0.x is buggy... we must wait a lot to enable editing because
		// sometimes the content simply disappears, for example when pasting
		// "bla1!<img src='some_url'>!bla2" in the source and then switching
		// back to design.
		if ( FCKBrowserInfo.IsGecko10 )
			this.Window.setTimeout( FCKEditingArea_CompleteStart, 500 ) ;
		else
			FCKEditingArea_CompleteStart.call( this.Window ) ;
	}
	else
	{
		var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ; 
		eTextarea.className = 'SourceField' ;
		eTextarea.dir = 'ltr' ;
		eTextarea.style.width = eTextarea.style.height = '100%' ;
		eTextarea.style.border = 'none' ;
		eTargetElement.appendChild( eTextarea ) ;

		eTextarea.value = html  ;

		// Fire the "OnLoad" event.
		FCKTools.RunFunction( this.OnLoad ) ;
	}
}

// "this" here is FCKEditingArea.Window 
function FCKEditingArea_CompleteStart()
{
	// Of Firefox, the DOM takes a little to become available. So we must wait for it in a loop.
	if ( !this.document.body )
	{
		this.setTimeout( FCKEditingArea_CompleteStart, 50 ) ;
		return ;
	}
	
	var oEditorArea = this._FCKEditingArea ;
	oEditorArea.MakeEditable() ;
	
	// Fire the "OnLoad" event.
	FCKTools.RunFunction( oEditorArea.OnLoad ) ;
}

FCKEditingArea.prototype.MakeEditable = function()
{
	var oDoc = this.Document ;

	if ( FCKBrowserInfo.IsIE )
		oDoc.body.contentEditable = true ;
	else
	{
		try
		{
			oDoc.designMode = 'on' ;

			// Tell Gecko to use or not the <SPAN> tag for the bold, italic and underline.
			oDoc.execCommand( 'useCSS', false, !FCKConfig.GeckoUseSPAN ) ;

			// Analysing Firefox 1.5 source code, it seams that there is support for a 
			// "insertBrOnReturn" command. Applying it gives no error, but it doesn't 
			// gives the same behavior that you have with IE. It works only if you are
			// already inside a paragraph and it doesn't render correctly in the first enter.
			// oDoc.execCommand( 'insertBrOnReturn', false, false ) ;

			// Tell Gecko (Firefox 1.5+) to enable or not live resizing of objects (by Alfonso Martinez)
			oDoc.execCommand( 'enableObjectResizing', false, !FCKConfig.DisableObjectResizing ) ;
			
			// Disable the standard table editing features of Firefox.
			oDoc.execCommand( 'enableInlineTableEditing', false, !FCKConfig.DisableFFTableHandles ) ;
		}
		catch (e) {}
	}
}

FCKEditingArea.prototype.Focus = function()
{
	try
	{
		if ( this.Mode == FCK_EDITMODE_WYSIWYG )
		{
			if ( FCKBrowserInfo.IsSafari )
				this.IFrame.focus() ;
			else
				this.Window.focus() ;
		}
		else
			this.Textarea.focus() ;
	}
	catch(e) {}
}

function FCKEditingArea_Cleanup()
{
	this.TargetElement = null ;
	this.IFrame = null ;
	this.Document = null ;
	this.Textarea = null ;
	
	if ( this.Window )
	{
		this.Window._FCKEditingArea = null ;
		this.Window = null ;
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人综合婷婷国产精品久久蜜臀| 风流少妇一区二区| 亚洲综合无码一区二区| 日韩美女精品在线| 国产三级精品视频| 久久久午夜精品| 久久久久久毛片| 久久久国产精品午夜一区ai换脸| 精品成人一区二区三区四区| 久久午夜老司机| 久久精品一区蜜桃臀影院| 国产午夜精品美女毛片视频| 欧美极品xxx| 亚洲欧洲成人av每日更新| 国产精品的网站| 亚洲视频免费观看| 玉米视频成人免费看| 性欧美大战久久久久久久久| 婷婷开心激情综合| 极品美女销魂一区二区三区免费| 久久精品国产精品亚洲综合| 国产主播一区二区三区| 成人精品免费网站| 日本韩国欧美一区二区三区| 欧美女孩性生活视频| 欧美变态tickling挠脚心| 国产亚洲一区二区三区在线观看 | 欧美日韩在线播放| 欧美欧美欧美欧美首页| 精品国产乱码久久久久久免费| 2020国产精品久久精品美国| 国产精品福利影院| 亚洲大片免费看| 国内成人自拍视频| av一二三不卡影片| 欧美日韩国产色站一区二区三区| 日韩美女视频一区二区在线观看| 国产午夜精品理论片a级大结局| 亚洲人亚洲人成电影网站色| 日韩精品电影在线| 国产精品资源在线看| 91玉足脚交白嫩脚丫在线播放| 欧美日韩亚洲综合一区二区三区| 日韩欧美精品在线视频| 国产精品毛片a∨一区二区三区| 亚洲美女免费视频| 麻豆成人av在线| av成人老司机| 精品三级av在线| 亚洲色欲色欲www| 美女视频黄久久| av成人免费在线| 欧美成人在线直播| 中文字幕亚洲视频| 伦理电影国产精品| 色综合久久88色综合天天免费| 日韩三级电影网址| 亚洲男人的天堂网| 国精产品一区一区三区mba视频| 色婷婷狠狠综合| 久久久久成人黄色影片| 亚洲一区日韩精品中文字幕| 国产精品自在欧美一区| 欧美视频在线观看一区| 国产欧美一区二区精品性色| 天天色图综合网| 99精品偷自拍| 久久亚洲精华国产精华液| 午夜伊人狠狠久久| 99这里只有久久精品视频| 日韩欧美一卡二卡| 亚洲成人久久影院| av中文字幕不卡| 久久久国产精品不卡| 日本欧美一区二区三区乱码| 色偷偷88欧美精品久久久| 久久精品免视看| 久久电影国产免费久久电影 | 国产精品天美传媒| 美女视频免费一区| 欧美福利视频导航| 一区二区在线免费| 懂色av一区二区夜夜嗨| 日韩精品中午字幕| 日韩黄色免费电影| 欧美三级韩国三级日本一级| 《视频一区视频二区| 国产sm精品调教视频网站| 欧美电视剧在线看免费| 三级欧美韩日大片在线看| 色综合亚洲欧洲| 国产精品福利影院| 成人动漫一区二区| 国产丝袜在线精品| 国产一区二区三区| 精品国产伦一区二区三区观看方式| 亚洲v精品v日韩v欧美v专区| 欧美午夜电影网| 依依成人精品视频| 欧美在线不卡视频| 亚洲激情六月丁香| 色婷婷av一区二区三区大白胸| 国产精品日产欧美久久久久| 国产成人综合亚洲91猫咪| 久久蜜桃av一区精品变态类天堂 | 国产精品一卡二| 久久你懂得1024| 国模大尺度一区二区三区| 欧美tickling网站挠脚心| 蜜桃久久精品一区二区| 欧美成人r级一区二区三区| 亚瑟在线精品视频| 欧美老女人第四色| 蜜桃av噜噜一区二区三区小说| 日韩一级高清毛片| 极品美女销魂一区二区三区| 久久久久亚洲蜜桃| 国产成人在线视频网址| 国产三级精品三级在线专区| av综合在线播放| 一区二区三区国产精华| 欧美天堂亚洲电影院在线播放| 亚洲一区电影777| 91精品免费在线| 久久精品二区亚洲w码| 久久精品一区二区三区不卡牛牛| 高清beeg欧美| 亚洲欧美一区二区不卡| 欧美日韩在线播放| 久久精品噜噜噜成人av农村| 久久久久国产免费免费| 成人性生交大片免费看中文网站| 亚洲日本在线天堂| 欧美剧情电影在线观看完整版免费励志电影 | 国产日韩欧美a| 日本黄色一区二区| 日韩中文字幕1| 国产视频一区在线观看 | 国产精品情趣视频| 91精品福利视频| 日av在线不卡| 中文字幕av免费专区久久| 在线视频观看一区| 久久国产乱子精品免费女| 国产欧美日韩激情| 欧美日韩色一区| 久久精品国产精品亚洲精品| 中文字幕在线一区| 欧美精品在线视频| 国产成人综合在线观看| 亚洲一区av在线| 欧美一区午夜精品| 国产精品小仙女| 亚洲成人av在线电影| 精品久久一区二区| 精品一区二区久久| 一区二区三区四区蜜桃| 91精品国产福利在线观看| 激情欧美一区二区| 国产欧美精品一区二区色综合| 欧美影视一区在线| 美女脱光内衣内裤视频久久影院| 日本一区二区动态图| a4yy欧美一区二区三区| 免费日韩伦理电影| 中文字幕日韩精品一区| 制服丝袜日韩国产| 国产一区不卡视频| 亚洲 欧美综合在线网络| 久久久青草青青国产亚洲免观| 91丝袜呻吟高潮美腿白嫩在线观看| 午夜欧美大尺度福利影院在线看| 26uuu国产日韩综合| 色综合久久综合网| 国产经典欧美精品| 亚洲第一在线综合网站| 久久久噜噜噜久久中文字幕色伊伊| 色哟哟亚洲精品| 另类小说综合欧美亚洲| 亚洲欧美怡红院| 欧美日韩国产一级片| 亚洲成国产人片在线观看| 国产成人一区在线| 欧美剧情电影在线观看完整版免费励志电影 | 欧洲一区在线观看| 一本色道久久加勒比精品 | 国产精品69毛片高清亚洲| 在线观看av一区| 亚洲人成人一区二区在线观看| 日本美女一区二区三区视频| 成人黄色av电影| 日韩欧美资源站| 免费成人在线观看视频| 欧美精品久久一区二区三区| 91精品国产综合久久福利软件 | 一区二区三区中文字幕精品精品| 久久国产人妖系列| 国产日韩欧美精品综合| 精品一区二区在线视频| av中文字幕不卡|