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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? fck_ie.js

?? java web網(wǎng)絡(luò)編程示例,原代碼資源
?? JS
字號(hào):
?/*
 * 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 differente 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()
{
	return ( FCK.Status == FCK_STATUS_COMPLETE && FCK.Events.FireEvent( "OnPaste" ) ) ;
}

function Doc_OnKeyDown()
{
	if ( FCK.EditorWindow )
	{
		var e = FCK.EditorWindow.event ;

		if ( !( e.keyCode >=16 && e.keyCode <= 18 ) )
			Doc_OnKeyDownUndo() ;
	}
	return true ;
}

function Doc_OnKeyDownUndo()
{
	if ( !FCKUndo.Typing )
	{
		FCKUndo.SaveUndoStep() ;
		FCKUndo.Typing = true ;
		FCK.Events.FireEvent( "OnSelectionChange" ) ;
	}

	FCKUndo.TypesCount++ ;

	if ( FCKUndo.TypesCount > FCKUndo.MaxTypes )
	{
		FCKUndo.TypesCount = 0 ;
		FCKUndo.SaveUndoStep() ;
	}
}

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

function Doc_OnSelectionChange()
{
	FCK.Events.FireEvent( "OnSelectionChange" ) ;
}

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 ) ;

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

	// Build the "TAB" key replacement (if necessary).
	if ( FCKConfig.TabSpaces > 0 )
	{
		window.FCKTabHTML = '' ;
		for ( i = 0 ; i < FCKConfig.TabSpaces ; i++ )
			window.FCKTabHTML += "&nbsp;" ;
	}
	this.EditorDocument.attachEvent("onkeydown", Doc_OnKeyDown ) ;

	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() ;

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

	FCKDocumentProcessor.Process( FCK.EditorDocument ) ;
}

FCK.SetInnerHtml = function( html )		// IE Only
{
	var oDoc = FCK.EditorDocument ;
	// Using the following trick, any comment in the begining 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.EditorWindow = null ;
	this.EditorDocument = null ;
}

FCK.Paste = 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()
{
	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 = clipboardData.getData("Text") ;

	if ( sText && sText.length > 0 )
	{
		// Replace the carriage returns with <BR>
		sText = FCKTools.HTMLEncode( sText ).replace( /\n/g, '<BR>' ) ;

		// Insert the resulting data in the editor.
		this.InsertHtml( sText ) ;
	}
}

FCK._CheckIsPastingEnabled = function( returnContents )
{
	// The following seams to be the only reliable way to check is script
	// pasting operations are enabled in the secutiry 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.InsertElement = function( element )
{
	FCK.InsertHtml( element.outerHTML ) ;
}

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.AttachToOnSelectionChange = function( functionPointer )
{
	this.Events.AttachEvent( 'OnSelectionChange', functionPointer ) ;
}

FCK.CreateLink = function( url )
{
	// Remove any existing link in the selection.
	FCK.ExecuteNamedCommand( 'Unlink' ) ;

	if ( url.length > 0 )
	{
		// 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 ) ;

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

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

			if ( oLink.href == 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.
				return oLink ;
			}
		}
	}

	return null ;
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本色综合中文字幕| 久久亚洲私人国产精品va媚药| 亚洲国产综合视频在线观看| 欧美在线观看18| 精一区二区三区| 亚洲欧美成人一区二区三区| 日韩欧美综合一区| 色伊人久久综合中文字幕| 精品一区免费av| 亚洲图片一区二区| 国产精品理伦片| 久久影院视频免费| 91麻豆精品91久久久久久清纯| 北岛玲一区二区三区四区| 美女免费视频一区| 午夜精品福利一区二区三区av | 欧美一区二区三区免费在线看| 成人免费毛片高清视频| 韩国视频一区二区| 日韩av电影天堂| 亚洲丰满少妇videoshd| 亚洲私人影院在线观看| 欧美国产欧美综合| 久久久久久麻豆| 精品国产制服丝袜高跟| 欧美精品99久久久**| 在线精品视频小说1| av电影在线观看不卡| 国产激情91久久精品导航| 久久99精品久久只有精品| 天堂成人国产精品一区| 舔着乳尖日韩一区| 亚洲综合在线第一页| 亚洲欧美日韩在线不卡| 国产精品久久午夜| 日韩毛片视频在线看| 国产精品久久网站| 亚洲欧洲三级电影| 日韩一区在线免费观看| 国产精品久久久久一区二区三区共| 日本一区二区三区高清不卡| 精品99999| 久久久国产精品不卡| 精品盗摄一区二区三区| 亚洲精品一区二区三区精华液| 日韩一级高清毛片| 精品少妇一区二区三区日产乱码| 91精品国产综合久久香蕉的特点| 欧美高清www午色夜在线视频| 欧美日韩久久久一区| 欧美肥妇free| 日韩一区二区三区免费观看| 日韩精品自拍偷拍| 久久精品男人天堂av| 中文字幕欧美日本乱码一线二线| 国产精品美女久久福利网站| 亚洲欧洲精品一区二区精品久久久| 亚洲欧美激情小说另类| 亚洲午夜激情av| 免费看黄色91| 国产成人一级电影| 99久久er热在这里只有精品15| 色猫猫国产区一区二在线视频| 色哟哟国产精品| 欧美一级电影网站| 国产亚洲一二三区| 亚洲色图欧美在线| 视频一区视频二区中文| 极品尤物av久久免费看| 成人性生交大片免费看视频在线| thepron国产精品| 欧美日韩一区二区三区视频| 91精品国产乱| 欧美国产日韩a欧美在线观看| 亚洲激情第一区| 久久精品国内一区二区三区| 成人深夜在线观看| 欧美四级电影网| 久久久久久一级片| 一区二区三区四区激情| 日韩中文字幕91| 成人av资源在线观看| 欧美男男青年gay1069videost | 丁香桃色午夜亚洲一区二区三区| 色综合天天天天做夜夜夜夜做| 欧美高清dvd| 中文字幕成人在线观看| 亚洲成av人片www| 成人免费毛片片v| 国产精品免费免费| 日本vs亚洲vs韩国一区三区| 成人涩涩免费视频| 日韩精品一区二区三区老鸭窝| 亚洲欧洲韩国日本视频| 蜜桃精品视频在线观看| 色综合天天天天做夜夜夜夜做| 欧美精品一区二区三区很污很色的 | 亚洲在线免费播放| 国产一本一道久久香蕉| 欧美日韩高清影院| 中文字幕亚洲综合久久菠萝蜜| 美腿丝袜亚洲一区| 91国产丝袜在线播放| 国产亚洲欧美一区在线观看| 日韩综合在线视频| 色激情天天射综合网| 欧美激情在线看| 免费精品99久久国产综合精品| 欧美亚洲高清一区| 国产精品久久久久精k8 | 欧美在线你懂的| 国产嫩草影院久久久久| 精品一区二区三区免费毛片爱| 欧美日韩精品一区二区三区蜜桃| 国产精品国产精品国产专区不蜜| 国产美女精品人人做人人爽| 欧美一区二区三区在线观看视频| 亚洲精选一二三| 波多野结衣精品在线| 久久久精品中文字幕麻豆发布| 日韩成人精品在线| 欧美日韩国产首页| 亚洲乱码国产乱码精品精的特点 | 国产三级一区二区三区| 人人精品人人爱| 欧美日韩成人激情| 亚洲在线视频网站| 欧美伊人精品成人久久综合97| 自拍偷拍亚洲激情| 国产成a人无v码亚洲福利| 2024国产精品| 国产资源在线一区| 精品欧美乱码久久久久久1区2区| 午夜精品免费在线| 欧美日韩精品欧美日韩精品| 夜夜嗨av一区二区三区中文字幕 | 欧美日韩一区中文字幕| 亚洲男人天堂av| 色婷婷综合久久久中文一区二区 | 精品国产网站在线观看| 日韩电影免费在线观看网站| 日韩欧美美女一区二区三区| 免费成人在线播放| 精品日韩av一区二区| 国产在线一区观看| 国产欧美日韩在线视频| 国产suv精品一区二区6| 国产精品美女久久久久aⅴ | 亚洲精品高清在线| 欧美性大战久久久| 日韩成人免费看| 久久日一线二线三线suv| 国产成人午夜视频| 中文字幕在线观看一区二区| 色94色欧美sute亚洲13| 亚洲第一主播视频| 欧美一区二区二区| 国产一区二区按摩在线观看| 国产亚洲欧美日韩俺去了| 国产999精品久久久久久| 国产精品乱码一区二区三区软件| av在线不卡电影| 亚洲国产精品欧美一二99| 69av一区二区三区| 国产在线国偷精品产拍免费yy| 国产精品久99| 欧美中文字幕一二三区视频| 免费观看久久久4p| 国产三级精品视频| 欧美午夜电影一区| 久久99国产精品免费| 国产精品沙发午睡系列990531| 色综合中文字幕国产 | 欧美影院午夜播放| 寂寞少妇一区二区三区| 亚洲色图一区二区三区| 日韩一区国产二区欧美三区| 成人小视频免费在线观看| 亚洲美女少妇撒尿| 精品成人私密视频| 91丨九色丨尤物| 蜜臂av日日欢夜夜爽一区| 七七婷婷婷婷精品国产| 久久久国产午夜精品| 欧美色老头old∨ideo| 国产在线精品免费av| 亚洲大片免费看| 国产欧美视频一区二区| 在线不卡中文字幕播放| 成人深夜视频在线观看| 日韩一区精品字幕| 亚洲私人影院在线观看| 日韩久久精品一区| 91九色最新地址| 国产999精品久久久久久绿帽| 天堂一区二区在线| 亚洲天堂中文字幕| 久久久久综合网| 日韩午夜在线观看视频| 色网站国产精品|