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

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

?? fck_ie.js

?? OA.....其他人不需帳號就可自由下載此源碼其他人不需帳號就可自由下載此源碼
?? 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 ==
 *
 * Creation and initialization of the "FCK" object. This is the main
 * object that represents an editor instance.
 * (IE specific implementations)
 */

FCK.Description = "FCKeditor for Internet Explorer 5.5+" ;

FCK._GetBehaviorsStyle = function()
{
	if ( !FCK._BehaviorsStyle )
	{
		var sBasePath = FCKConfig.FullBasePath ;
		var sTableBehavior = '' ;
		var sStyle ;

		// The behaviors should be pointed using the FullBasePath to avoid security
		// errors when using a different BaseHref.
		sStyle = '<style type="text/css" _fcktemp="true">' ;

		if ( FCKConfig.ShowBorders )
			sTableBehavior = 'url(' + sBasePath + 'css/behaviors/showtableborders.htc)' ;

		// Disable resize handlers.
		sStyle += 'INPUT,TEXTAREA,SELECT,.FCK__Anchor,.FCK__PageBreak,.FCK__InputHidden' ;

		if ( FCKConfig.DisableObjectResizing )
		{
			sStyle += ',IMG' ;
			sTableBehavior += ' url(' + sBasePath + 'css/behaviors/disablehandles.htc)' ;
		}

		sStyle += ' { behavior: url(' + sBasePath + 'css/behaviors/disablehandles.htc) ; }' ;

		if ( sTableBehavior.length > 0 )
			sStyle += 'TABLE { behavior: ' + sTableBehavior + ' ; }' ;

		sStyle += '</style>' ;
		FCK._BehaviorsStyle = sStyle ;
	}

	return FCK._BehaviorsStyle ;
}

function Doc_OnMouseUp()
{
	if ( FCK.EditorWindow.event.srcElement.tagName == 'HTML' )
	{
		FCK.Focus() ;
		FCK.EditorWindow.event.cancelBubble	= true ;
		FCK.EditorWindow.event.returnValue	= false ;
	}
}

function Doc_OnPaste()
{
	var body = FCK.EditorDocument.body ;
	
	body.detachEvent( 'onpaste', Doc_OnPaste ) ;

	var ret = FCK.Paste( !FCKConfig.ForcePasteAsPlainText && !FCKConfig.AutoDetectPasteFromWord ) ;

	body.attachEvent( 'onpaste', Doc_OnPaste ) ;
	
	return ret ;
}

function Doc_OnDblClick()
{
	FCK.OnDoubleClick( FCK.EditorWindow.event.srcElement ) ;
	FCK.EditorWindow.event.cancelBubble = true ;
}

function Doc_OnSelectionChange()
{
	// Don't fire the event if no document is loaded.
	if ( FCK.EditorDocument )
		FCK.Events.FireEvent( "OnSelectionChange" ) ;
}

function Doc_OnDrop()
{
	if ( FCK.MouseDownFlag )
	{
		FCK.MouseDownFlag = false ;
		return ;
	}
	var evt = FCK.EditorWindow.event ;
	if ( FCKConfig.ForcePasteAsPlainText )
	{
		if ( FCK._CheckIsPastingEnabled() || FCKConfig.ShowDropDialog )
			FCK.PasteAsPlainText( evt.dataTransfer.getData( 'Text' ) ) ;
	}
	else
	{
		if ( FCKConfig.ShowDropDialog ) 
			FCKTools.RunFunction( FCKDialog.OpenDialog, 
				FCKDialog, ['FCKDialog_Paste', FCKLang.Paste, 'dialog/fck_paste.html', 400, 330, 'Security'] ) ;
	}
	evt.returnValue = false ;
	evt.cancelBubble = true ;
}

FCK.InitializeBehaviors = function( dontReturn )
{
	// Set the focus to the editable area when clicking in the document area.
	// TODO: The cursor must be positioned at the end.
	this.EditorDocument.attachEvent( 'onmouseup', Doc_OnMouseUp ) ;

	// Intercept pasting operations
	this.EditorDocument.body.attachEvent( 'onpaste', Doc_OnPaste ) ;

	// Intercept drop operations
	this.EditorDocument.body.attachEvent( 'ondrop', Doc_OnDrop ) ;

	// Reset the context menu.
	FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body ) ;

	this.EditorDocument.attachEvent("onkeydown", FCK._KeyDownListener ) ;

	this.EditorDocument.attachEvent("ondblclick", Doc_OnDblClick ) ;
	
	// Catch cursor selection changes.
	this.EditorDocument.attachEvent("onselectionchange", Doc_OnSelectionChange ) ;
}

FCK.InsertHtml = function( html )
{
	html = FCKConfig.ProtectedSource.Protect( html ) ;
	html = FCK.ProtectEvents( html ) ;
	html = FCK.ProtectUrls( html ) ;
	html = FCK.ProtectTags( html ) ;

//	FCK.Focus() ;
	FCK.EditorWindow.focus() ;

	FCKUndo.SaveUndoStep() ;

	// Gets the actual selection.
	var oSel = FCK.EditorDocument.selection ;

	// Deletes the actual selection contents.
	if ( oSel.type.toLowerCase() == 'control' )
		oSel.clear() ;

	// Using the following trick, any comment in the beginning of the HTML will
	// be preserved.
	html = '<span id="__fakeFCKRemove__">&nbsp;</span>' + html ;

	// Insert the HTML.
	oSel.createRange().pasteHTML( html ) ;

	// Remove the fake node
	FCK.EditorDocument.getElementById('__fakeFCKRemove__').removeNode( true ) ;

	FCKDocumentProcessor.Process( FCK.EditorDocument ) ;

	// For some strange reason the SaveUndoStep() call doesn't activate the undo button at the first InsertHtml() call.
	this.Events.FireEvent( "OnSelectionChange" ) ;
}

FCK.SetInnerHtml = function( html )		// IE Only
{
	var oDoc = FCK.EditorDocument ;
	// Using the following trick, any comment in the beginning of the HTML will
	// be preserved.
	oDoc.body.innerHTML = '<div id="__fakeFCKRemove__">&nbsp;</div>' + html ;
	oDoc.getElementById('__fakeFCKRemove__').removeNode( true ) ;
}

function FCK_PreloadImages()
{
	var oPreloader = new FCKImagePreloader() ;

	// Add the configured images.
	oPreloader.AddImages( FCKConfig.PreloadImages ) ;

	// Add the skin icons strip.
	oPreloader.AddImages( FCKConfig.SkinPath + 'fck_strip.gif' ) ;

	oPreloader.OnComplete = LoadToolbarSetup ;
	oPreloader.Start() ;
}

// Disable the context menu in the editor (outside the editing area).
function Document_OnContextMenu()
{
	return ( event.srcElement._FCKShowContextMenu == true ) ;
}
document.oncontextmenu = Document_OnContextMenu ;

function FCK_Cleanup()
{
	this.LinkedField = null ;
	this.EditorWindow = null ;
	this.EditorDocument = null ;
}

FCK._ExecPaste = function()
{
	// As we call ExecuteNamedCommand('Paste'), it would enter in a loop. So, let's use a semaphore.
	if ( FCK._PasteIsRunning )
		return true ;

	if ( FCKConfig.ForcePasteAsPlainText )
	{
		FCK.PasteAsPlainText() ;
		return false ;
	}

	var sHTML = FCK._CheckIsPastingEnabled( true ) ;

	if ( sHTML === false )
		FCKTools.RunFunction( FCKDialog.OpenDialog, FCKDialog, ['FCKDialog_Paste', FCKLang.Paste, 'dialog/fck_paste.html', 400, 330, 'Security'] ) ;
	else
	{
		if ( FCKConfig.AutoDetectPasteFromWord && sHTML.length > 0 )
		{
			var re = /<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi ;
			if ( re.test( sHTML ) )
			{
				if ( confirm( FCKLang.PasteWordConfirm ) )
				{
					FCK.PasteFromWord() ;
					return false ;
				}
			}
		}

		// Instead of inserting the retrieved HTML, let's leave the OS work for us,
		// by calling FCK.ExecuteNamedCommand( 'Paste' ). It could give better results.

		// Enable the semaphore to avoid a loop.
		FCK._PasteIsRunning = true ;

		FCK.ExecuteNamedCommand( 'Paste' ) ;

		// Removes the semaphore.
		delete FCK._PasteIsRunning ;
	}

	// Let's always make a custom implementation (return false), otherwise
	// the new Keyboard Handler may conflict with this code, and the CTRL+V code
	// could result in a simple "V" being pasted.
	return false ;
}

FCK.PasteAsPlainText = function( forceText )
{
	if ( !FCK._CheckIsPastingEnabled() )
	{
		FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteAsText, 'dialog/fck_paste.html', 400, 330, 'PlainText' ) ;
		return ;
	}

	// Get the data available in the clipboard in text format.
	var sText = null ;
	if ( ! forceText )
		sText = clipboardData.getData("Text") ;
	else 
		sText = forceText ;

	if ( sText && sText.length > 0 )
	{
		// Replace the carriage returns with <BR>
		sText = FCKTools.HTMLEncode( sText ) ;
		sText = FCKTools.ProcessLineBreaks( window, FCKConfig, sText ) ;

		var closeTagIndex = sText.search( '</p>' ) ;
		var startTagIndex = sText.search( '<p>' ) ;

		if ( ( closeTagIndex != -1 && startTagIndex != -1 && closeTagIndex < startTagIndex ) 
				|| ( closeTagIndex != -1 && startTagIndex == -1 ) )
		{
			var prefix = sText.substr( 0, closeTagIndex ) ;
			sText = sText.substr( closeTagIndex + 4 ) ;
			this.InsertHtml( prefix ) ;
		}

		// Insert the resulting data in the editor.
		FCKUndo.SaveLocked = true ;
		this.InsertHtml( sText ) ;
		FCKUndo.SaveLocked = false ;
	}
}

FCK._CheckIsPastingEnabled = function( returnContents )
{
	// The following seams to be the only reliable way to check is script
	// pasting operations are enabled in the security settings of IE6 and IE7.
	// It adds a little bit of overhead to the check, but so far that's the
	// only way, mainly because of IE7.

	FCK._PasteIsEnabled = false ;

	document.body.attachEvent( 'onpaste', FCK_CheckPasting_Listener ) ;

	// The execCommand in GetClipboardHTML will fire the "onpaste", only if the
	// security settings are enabled.
	var oReturn = FCK.GetClipboardHTML() ;

	document.body.detachEvent( 'onpaste', FCK_CheckPasting_Listener ) ;

	if ( FCK._PasteIsEnabled )
	{
		if ( !returnContents )
			oReturn = true ;
	}
	else
		oReturn = false ;

	delete FCK._PasteIsEnabled ;

	return oReturn ;
}

function FCK_CheckPasting_Listener()
{
	FCK._PasteIsEnabled = true ;
}

FCK.GetClipboardHTML = function()
{
	var oDiv = document.getElementById( '___FCKHiddenDiv' ) ;

	if ( !oDiv )
	{
		oDiv = document.createElement( 'DIV' ) ;
		oDiv.id = '___FCKHiddenDiv' ;

		var oDivStyle = oDiv.style ;
		oDivStyle.position		= 'absolute' ;
		oDivStyle.visibility	= oDivStyle.overflow	= 'hidden' ;
		oDivStyle.width			= oDivStyle.height		= 1 ;

		document.body.appendChild( oDiv ) ;
	}

	oDiv.innerHTML = '' ;

	var oTextRange = document.body.createTextRange() ;
	oTextRange.moveToElementText( oDiv ) ;
	oTextRange.execCommand( 'Paste' ) ;

	var sData = oDiv.innerHTML ;
	oDiv.innerHTML = '' ;

	return sData ;
}

FCK.CreateLink = function( url, noUndo )
{
	// Creates the array that will be returned. It contains one or more created links (see #220).
	var aCreatedLinks = new Array() ;

	// Remove any existing link in the selection.
	FCK.ExecuteNamedCommand( 'Unlink', null, false, !!noUndo ) ;

	if ( url.length > 0 )
	{
		// If there are several images, and you try to link each one, all the images get inside the link:
		// <img><img> -> <a><img></a><img> -> <a><img><img></a> due to the call to 'CreateLink' (bug in IE)
		if (FCKSelection.GetType() == 'Control')
		{
			// Create a link
			var oLink = this.EditorDocument.createElement( 'A' ) ;
			oLink.href = url ;

			// Get the selected object
			var oControl = FCKSelection.GetSelectedElement() ;
			// Put the link just before the object
			oControl.parentNode.insertBefore(oLink, oControl) ;
			// Move the object inside the link
			oControl.parentNode.removeChild( oControl ) ;
			oLink.appendChild( oControl ) ;

			return [ oLink ] ;
		}

		// Generate a temporary name for the link.
		var sTempUrl = 'javascript:void(0);/*' + ( new Date().getTime() ) + '*/' ;

		// Use the internal "CreateLink" command to create the link.
		FCK.ExecuteNamedCommand( 'CreateLink', sTempUrl, false, !!noUndo ) ;

		// Look for the just create link.
		var oLinks = this.EditorDocument.links ;

		for ( i = 0 ; i < oLinks.length ; i++ )
		{
			var oLink = oLinks[i] ;

			// Check it this a newly created link.
			// getAttribute must be used. oLink.url may cause problems with IE7 (#555).
			if ( oLink.getAttribute( 'href', 2 ) == sTempUrl )
			{
				var sInnerHtml = oLink.innerHTML ;	// Save the innerHTML (IE changes it if it is like an URL).
				oLink.href = url ;
				oLink.innerHTML = sInnerHtml ;		// Restore the innerHTML.

				// If the last child is a <br> move it outside the link or it
				// will be too easy to select this link again #388.
				var oLastChild = oLink.lastChild ;
				if ( oLastChild && oLastChild.nodeName == 'BR' )
				{
					// Move the BR after the link.
					FCKDomTools.InsertAfterNode( oLink, oLink.removeChild( oLastChild ) ) ;
				}

				aCreatedLinks.push( oLink ) ;
			}
		}
	}

	return aCreatedLinks ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久成人18免费观看| 国产自产高清不卡| 欧美精品一区二区三区蜜桃 | 欧美老肥妇做.爰bbww视频| 精品无人码麻豆乱码1区2区| 亚洲欧美另类小说视频| 久久精品水蜜桃av综合天堂| 欧美午夜一区二区三区| 成人黄色免费短视频| 蜜乳av一区二区三区| 一区二区在线观看免费视频播放| 久久亚洲二区三区| 777a∨成人精品桃花网| 在线这里只有精品| 9久草视频在线视频精品| 国产经典欧美精品| 精品亚洲欧美一区| 美腿丝袜在线亚洲一区| 午夜电影久久久| 亚洲综合色网站| 亚洲视频免费观看| 国产精品美女久久久久久久久| 精品少妇一区二区三区视频免付费 | 亚洲日本电影在线| 中文字幕巨乱亚洲| 久久综合久久综合久久| 精品国内片67194| 884aa四虎影成人精品一区| 在线观看亚洲成人| 91老司机福利 在线| 99国产精品国产精品毛片| 成人高清视频免费观看| 国产精品白丝av| 国产美女一区二区| 久久99蜜桃精品| 美女任你摸久久| 奇米在线7777在线精品 | 免费成人在线观看| 美美哒免费高清在线观看视频一区二区| 亚洲成a人片综合在线| 视频一区欧美日韩| 日韩和的一区二区| 蜜臀av一区二区在线观看| 蜜桃视频第一区免费观看| 免费成人美女在线观看.| 伦理电影国产精品| 国产美女在线观看一区| 国产成人丝袜美腿| 972aa.com艺术欧美| 在线观看一区二区视频| 欧美精品亚洲一区二区在线播放| 欧美肥妇毛茸茸| 精品裸体舞一区二区三区| 亚洲香蕉伊在人在线观| 亚洲r级在线视频| 蓝色福利精品导航| 国产盗摄一区二区| 91丝袜高跟美女视频| 欧美日韩在线不卡| 日韩一级黄色片| 久久丝袜美腿综合| 国产精品乱人伦| 亚洲一区在线观看网站| 全部av―极品视觉盛宴亚洲| 国产剧情一区二区| 91亚洲资源网| 8v天堂国产在线一区二区| 精品成人佐山爱一区二区| 亚洲国产精品精华液2区45| 亚洲天堂成人网| 日韩在线a电影| 国产成人精品aa毛片| 91福利在线看| 日韩免费一区二区三区在线播放| 中文字幕不卡的av| 一区二区三区四区五区视频在线观看| 日日夜夜免费精品| 国产成人av一区二区三区在线观看| 色婷婷久久久综合中文字幕| 日韩欧美国产电影| 亚洲欧美日韩成人高清在线一区| 日韩成人免费看| 成人精品视频一区二区三区 | 九九精品一区二区| 成a人片国产精品| 884aa四虎影成人精品一区| 日本一区二区三区在线观看| 亚洲成人动漫精品| 成人黄色片在线观看| 日韩亚洲欧美在线| 亚洲欧美另类久久久精品2019| 久久精品国产一区二区| 91在线精品一区二区| 精品国产免费一区二区三区香蕉| 洋洋成人永久网站入口| 国产精品一区二区在线观看网站| 在线观看欧美精品| 欧美国产一区二区| 奇米精品一区二区三区四区 | 一二三四区精品视频| 国产一区二区三区在线观看免费视频| 在线视频亚洲一区| 国产亚洲视频系列| 免费成人在线观看视频| 在线观看亚洲成人| 中文字幕亚洲在| 国产一区二区三区美女| 在线观看91av| 亚洲午夜久久久| 99r精品视频| 久久久91精品国产一区二区三区| 三级精品在线观看| 91久久国产最好的精华液| 国产精品美女久久久久av爽李琼| 激情六月婷婷久久| 91精品国产综合久久久久久久| 亚洲欧洲一区二区三区| 国产精品一区在线观看你懂的| 69久久夜色精品国产69蝌蚪网| 亚洲精品免费一二三区| 99视频热这里只有精品免费| 久久―日本道色综合久久| 免费成人在线网站| 欧美年轻男男videosbes| 亚洲一区二区三区国产| 91久久精品午夜一区二区| 亚洲免费观看视频| 91在线免费看| 亚洲美女免费视频| 91久久久免费一区二区| 亚洲美女屁股眼交3| 91在线porny国产在线看| 亚洲欧美色图小说| 91丨九色丨蝌蚪富婆spa| 亚洲视频在线一区二区| 99国产精品久久| 亚洲精品中文字幕在线观看| 91浏览器在线视频| 亚洲综合免费观看高清完整版在线| 91国偷自产一区二区三区观看 | 久久美女艺术照精彩视频福利播放 | 国产欧美精品一区二区色综合| 国产福利精品一区| 国产精品黄色在线观看| 97精品视频在线观看自产线路二| 亚洲欧美精品午睡沙发| 欧美偷拍一区二区| 日本伊人色综合网| 日韩你懂的电影在线观看| 国产精品一区久久久久| 国产精品美女久久久久高潮| 91丝袜美腿高跟国产极品老师| 亚洲综合在线电影| 欧美高清www午色夜在线视频| 日本三级韩国三级欧美三级| 精品免费国产一区二区三区四区| 国产成人自拍网| 亚洲精品自拍动漫在线| 制服丝袜亚洲播放| 寂寞少妇一区二区三区| 国产精品国产a级| 欧美性受xxxx黑人xyx性爽| 日韩av在线免费观看不卡| 2020国产精品自拍| www.日韩大片| 日日夜夜精品免费视频| 欧美刺激午夜性久久久久久久| 成人午夜在线播放| 亚洲一区二区在线观看视频 | 欧美电影精品一区二区| 成人免费视频一区| 亚洲一区二区三区四区中文字幕| 欧美一区二区三区四区视频| 国产精品影视网| 亚洲一二三四久久| wwwwxxxxx欧美| 一本一本大道香蕉久在线精品 | 亚洲欧美另类小说| 日韩精品一区二区三区视频| 成人av在线一区二区| 日韩av网站在线观看| 国产精品久久毛片av大全日韩| 欧美精品日韩一本| 99精品视频在线观看| 久久精品久久精品| 一区二区在线观看不卡| 欧美变态tickling挠脚心| 日本韩国欧美在线| 国产ts人妖一区二区| 舔着乳尖日韩一区| 国产精品久久久久久久久快鸭 | 欧美一区二区三区视频免费 | 成人高清视频在线| 麻豆成人av在线| 亚洲自拍偷拍av| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 亚洲一区自拍偷拍| 欧美国产1区2区| 欧美一二三四在线| 欧美午夜精品理论片a级按摩|