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

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

?? fck_dialog_common.js

?? < content="Hello,sik" Dim oFCKeditor Set oFCKeditor = New FCKeditor oFCKeditor.BasePath
?? JS
字號:
?/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2009 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 ==
 *
 * Useful functions used by almost all dialog window pages.
 * Dialogs should link to this file as the very first script on the page.
 */

// Automatically detect the correct document.domain (#123).
(function()
{
	var d = document.domain ;

	while ( true )
	{
		// Test if we can access a parent property.
		try
		{
			var test = window.parent.document.domain ;
			break ;
		}
		catch( e ) {}

		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
		d = d.replace( /.*?(?:\.|$)/, '' ) ;

		if ( d.length == 0 )
			break ;		// It was not able to detect the domain.

		try
		{
			document.domain = d ;
		}
		catch (e)
		{
			break ;
		}
	}
})() ;

// Attention: FCKConfig must be available in the page.
function GetCommonDialogCss( prefix )
{
	// CSS minified by http://iceyboard.no-ip.org/projects/css_compressor (see _dev/css_compression.txt).
	return FCKConfig.BasePath + 'dialog/common/' + '|.ImagePreviewArea{border:#000 1px solid;overflow:auto;width:100%;height:170px;background-color:#fff}.FlashPreviewArea{border:#000 1px solid;padding:5px;overflow:auto;width:100%;height:170px;background-color:#fff}.BtnReset{float:left;background-position:center center;background-image:url(images/reset.gif);width:16px;height:16px;background-repeat:no-repeat;border:1px none;font-size:1px}.BtnLocked,.BtnUnlocked{float:left;background-position:center center;background-image:url(images/locked.gif);width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.BtnUnlocked{background-image:url(images/unlocked.gif)}.BtnOver{border:outset 1px;cursor:pointer;cursor:hand}' ;
}

// Gets a element by its Id. Used for shorter coding.
function GetE( elementId )
{
	return document.getElementById( elementId )  ;
}

function ShowE( element, isVisible )
{
	if ( typeof( element ) == 'string' )
		element = GetE( element ) ;
	element.style.display = isVisible ? '' : 'none' ;
}

function SetAttribute( element, attName, attValue )
{
	if ( attValue == null || attValue.length == 0 )
		element.removeAttribute( attName, 0 ) ;			// 0 : Case Insensitive
	else
		element.setAttribute( attName, attValue, 0 ) ;	// 0 : Case Insensitive
}

function GetAttribute( element, attName, valueIfNull )
{
	var oAtt = element.attributes[attName] ;

	if ( oAtt == null || !oAtt.specified )
		return valueIfNull ? valueIfNull : '' ;

	var oValue = element.getAttribute( attName, 2 ) ;

	if ( oValue == null )
		oValue = oAtt.nodeValue ;

	return ( oValue == null ? valueIfNull : oValue ) ;
}

function SelectField( elementId )
{
	var element = GetE( elementId ) ;
	element.focus() ;

	// element.select may not be available for some fields (like <select>).
	if ( element.select )
		element.select() ;
}

// Functions used by text fields to accept numbers only.
var IsDigit = ( function()
	{
		var KeyIdentifierMap =
		{
			End			: 35,
			Home		: 36,
			Left		: 37,
			Right		: 39,
			'U+00007F'	: 46		// Delete
		} ;

		return function ( e )
			{
				if ( !e )
					e = event ;

				var iCode = ( e.keyCode || e.charCode ) ;

				if ( !iCode && e.keyIdentifier && ( e.keyIdentifier in KeyIdentifierMap ) )
						iCode = KeyIdentifierMap[ e.keyIdentifier ] ;

				return (
						( iCode >= 48 && iCode <= 57 )		// Numbers
						|| (iCode >= 35 && iCode <= 40)		// Arrows, Home, End
						|| iCode == 8						// Backspace
						|| iCode == 46						// Delete
						|| iCode == 9						// Tab
				) ;
			}
	} )() ;

String.prototype.Trim = function()
{
	return this.replace( /(^\s*)|(\s*$)/g, '' ) ;
}

String.prototype.StartsWith = function( value )
{
	return ( this.substr( 0, value.length ) == value ) ;
}

String.prototype.Remove = function( start, length )
{
	var s = '' ;

	if ( start > 0 )
		s = this.substring( 0, start ) ;

	if ( start + length < this.length )
		s += this.substring( start + length , this.length ) ;

	return s ;
}

String.prototype.ReplaceAll = function( searchArray, replaceArray )
{
	var replaced = this ;

	for ( var i = 0 ; i < searchArray.length ; i++ )
	{
		replaced = replaced.replace( searchArray[i], replaceArray[i] ) ;
	}

	return replaced ;
}

function OpenFileBrowser( url, width, height )
{
	// oEditor must be defined.

	var iLeft = ( oEditor.FCKConfig.ScreenWidth  - width ) / 2 ;
	var iTop  = ( oEditor.FCKConfig.ScreenHeight - height ) / 2 ;

	var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ;
	sOptions += ",width=" + width ;
	sOptions += ",height=" + height ;
	sOptions += ",left=" + iLeft ;
	sOptions += ",top=" + iTop ;

	window.open( url, 'FCKBrowseWindow', sOptions ) ;
}

/**
 Utility function to create/update an element with a name attribute in IE, so it behaves properly when moved around
 It also allows to change the name or other special attributes in an existing node
	oEditor : instance of FCKeditor where the element will be created
	oOriginal : current element being edited or null if it has to be created
	nodeName : string with the name of the element to create
	oAttributes : Hash object with the attributes that must be set at creation time in IE
								Those attributes will be set also after the element has been
								created for any other browser to avoid redudant code
*/
function CreateNamedElement( oEditor, oOriginal, nodeName, oAttributes )
{
	var oNewNode ;

	// IE doesn't allow easily to change properties of an existing object,
	// so remove the old and force the creation of a new one.
	var oldNode = null ;
	if ( oOriginal && oEditor.FCKBrowserInfo.IsIE )
	{
		// Force the creation only if some of the special attributes have changed:
		var bChanged = false;
		for( var attName in oAttributes )
			bChanged |= ( oOriginal.getAttribute( attName, 2) != oAttributes[attName] ) ;

		if ( bChanged )
		{
			oldNode = oOriginal ;
			oOriginal = null ;
		}
	}

	// If the node existed (and it's not IE), then we just have to update its attributes
	if ( oOriginal )
	{
		oNewNode = oOriginal ;
	}
	else
	{
		// #676, IE doesn't play nice with the name or type attribute
		if ( oEditor.FCKBrowserInfo.IsIE )
		{
			var sbHTML = [] ;
			sbHTML.push( '<' + nodeName ) ;
			for( var prop in oAttributes )
			{
				sbHTML.push( ' ' + prop + '="' + oAttributes[prop] + '"' ) ;
			}
			sbHTML.push( '>' ) ;
			if ( !oEditor.FCKListsLib.EmptyElements[nodeName.toLowerCase()] )
				sbHTML.push( '</' + nodeName + '>' ) ;

			oNewNode = oEditor.FCK.EditorDocument.createElement( sbHTML.join('') ) ;
			// Check if we are just changing the properties of an existing node: copy its properties
			if ( oldNode )
			{
				CopyAttributes( oldNode, oNewNode, oAttributes ) ;
				oEditor.FCKDomTools.MoveChildren( oldNode, oNewNode ) ;
				oldNode.parentNode.removeChild( oldNode ) ;
				oldNode = null ;

				if ( oEditor.FCK.Selection.SelectionData )
				{
					// Trick to refresh the selection object and avoid error in
					// fckdialog.html Selection.EnsureSelection
					var oSel = oEditor.FCK.EditorDocument.selection ;
					oEditor.FCK.Selection.SelectionData = oSel.createRange() ; // Now oSel.type will be 'None' reflecting the real situation
				}
			}
			oNewNode = oEditor.FCK.InsertElement( oNewNode ) ;

			// FCK.Selection.SelectionData is broken by now since we've
			// deleted the previously selected element. So we need to reassign it.
			if ( oEditor.FCK.Selection.SelectionData )
			{
				var range = oEditor.FCK.EditorDocument.body.createControlRange() ;
				range.add( oNewNode ) ;
				oEditor.FCK.Selection.SelectionData = range ;
			}
		}
		else
		{
			oNewNode = oEditor.FCK.InsertElement( nodeName ) ;
		}
	}

	// Set the basic attributes
	for( var attName in oAttributes )
		oNewNode.setAttribute( attName, oAttributes[attName], 0 ) ;	// 0 : Case Insensitive

	return oNewNode ;
}

// Copy all the attributes from one node to the other, kinda like a clone
// But oSkipAttributes is an object with the attributes that must NOT be copied
function CopyAttributes( oSource, oDest, oSkipAttributes )
{
	var aAttributes = oSource.attributes ;

	for ( var n = 0 ; n < aAttributes.length ; n++ )
	{
		var oAttribute = aAttributes[n] ;

		if ( oAttribute.specified )
		{
			var sAttName = oAttribute.nodeName ;
			// We can set the type only once, so do it with the proper value, not copying it.
			if ( sAttName in oSkipAttributes )
				continue ;

			var sAttValue = oSource.getAttribute( sAttName, 2 ) ;
			if ( sAttValue == null )
				sAttValue = oAttribute.nodeValue ;

			oDest.setAttribute( sAttName, sAttValue, 0 ) ;	// 0 : Case Insensitive
		}
	}
	// The style:
	if ( oSource.style.cssText !== '' )
		oDest.style.cssText = oSource.style.cssText ;
}

/**
* Replaces a tag with another one, keeping its contents:
* for example TD --> TH, and TH --> TD.
* input: the original node, and the new tag name
* http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-renameNode
*/
function RenameNode( oNode , newTag )
{
	// TODO: if the browser natively supports document.renameNode call it.
	// does any browser currently support it in order to test?

	// Only rename element nodes.
	if ( oNode.nodeType != 1 )
		return null ;

	// If it's already correct exit here.
	if ( oNode.nodeName == newTag )
		return oNode ;

	var oDoc = oNode.ownerDocument ;
	// Create the new node
	var newNode = oDoc.createElement( newTag ) ;

	// Copy all attributes
	CopyAttributes( oNode, newNode, {} ) ;

	// Move children to the new node
	FCKDomTools.MoveChildren( oNode, newNode ) ;

	// Finally replace the node and return the new one
	oNode.parentNode.replaceChild( newNode, oNode ) ;

	return newNode ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情一二三区| 国模娜娜一区二区三区| 国产欧美一二三区| 欧美精品一区二| 欧美成人一区二区三区片免费 | 成人精品鲁一区一区二区| 美女视频一区二区三区| 青青草伊人久久| 美女精品自拍一二三四| 国产综合久久久久久鬼色 | 成人一区在线看| 成人夜色视频网站在线观看| 老司机午夜精品| 美国三级日本三级久久99| 美国三级日本三级久久99| 狠狠色丁香婷婷综合| 国产成人高清视频| 国产91在线看| 色婷婷激情综合| 91精品国产综合久久精品图片| 欧美日韩精品免费| 97精品视频在线观看自产线路二| 色美美综合视频| 欧美日韩精品福利| 99九九99九九九视频精品| 91国产免费看| 精品99久久久久久| 国产精品福利电影一区二区三区四区| 久久麻豆一区二区| 91丝袜高跟美女视频| 欧美日本高清视频在线观看| 久久综合九色综合欧美就去吻| 欧美羞羞免费网站| 精品久久一区二区三区| 国产精品久久福利| 国产精品久久二区二区| 亚洲福利国产精品| 国产精品 日产精品 欧美精品| 国产成人免费在线观看不卡| 亚洲国产成人av| 免费在线一区观看| 色8久久人人97超碰香蕉987| 成人精品视频一区二区三区| 91精品国产福利| 亚洲色图欧美偷拍| 五月激情丁香一区二区三区| 风间由美一区二区av101| 911精品国产一区二区在线| 欧美日韩国产精品自在自线| 91久久精品日日躁夜夜躁欧美| 91黄视频在线| 国产精品电影一区二区| 老司机精品视频在线| 暴力调教一区二区三区| 欧美精品一区二区三区很污很色的 | 久久97超碰色| 精品一区二区三区日韩| 成人午夜在线免费| 久久综合久久鬼色中文字| 国产无一区二区| 久久国产欧美日韩精品| 91麻豆精品久久久久蜜臀| 国产亚洲欧美一级| 国产伦精品一区二区三区视频青涩| 欧美亚洲高清一区二区三区不卡| 日韩视频中午一区| 国产亚洲精品免费| 日韩高清不卡一区二区三区| 在线观看国产一区二区| 一区二区三区在线看| 天堂成人国产精品一区| 五月天亚洲精品| 不卡视频在线观看| 欧美va在线播放| 日本欧美久久久久免费播放网| 在线免费精品视频| 亚洲夂夂婷婷色拍ww47| av亚洲精华国产精华| 综合久久久久久久| 色噜噜狠狠一区二区三区果冻| 亚洲欧洲99久久| 91捆绑美女网站| 亚洲一区二区三区三| 欧美色大人视频| 日本 国产 欧美色综合| 精品欧美乱码久久久久久1区2区| 日本亚洲最大的色成网站www| 欧美精品亚洲一区二区在线播放| 丝袜美腿高跟呻吟高潮一区| 欧美一区三区四区| 国产伦精一区二区三区| 中文字幕精品一区| 91国内精品野花午夜精品| 日韩中文欧美在线| 久久久久成人黄色影片| 99九九99九九九视频精品| 亚洲福利一区二区三区| 日韩欧美亚洲国产另类| 偷窥国产亚洲免费视频| av色综合久久天堂av综合| 国产自产高清不卡| 日韩欧美国产1| 日本伊人午夜精品| 亚洲va韩国va欧美va| **欧美大码日韩| av电影在线不卡| 精品国精品国产| 一本色道**综合亚洲精品蜜桃冫 | 欧美三级午夜理伦三级中视频| 午夜精品在线视频一区| 久久久午夜精品理论片中文字幕| 成人免费va视频| 日本不卡一区二区| 中文字幕一区二区在线观看 | 日本不卡视频在线观看| 中文字幕欧美区| 欧美精品久久一区| 成人av手机在线观看| 亚洲不卡av一区二区三区| 国产午夜精品福利| 日韩一级高清毛片| 色婷婷综合视频在线观看| 成人动漫视频在线| 日韩在线播放一区二区| 国产精品久久久久永久免费观看 | 欧美精品高清视频| 成人国产精品免费观看动漫| 亚洲成人中文在线| 亚洲三级视频在线观看| 精品国产一二三| 91.com在线观看| 色婷婷av一区| 国产凹凸在线观看一区二区| 蜜乳av一区二区| 亚洲一区二区四区蜜桃| 国产精品麻豆99久久久久久| 欧美mv日韩mv国产网站| 91精品国产手机| 欧美性色黄大片| 97超碰欧美中文字幕| 美脚の诱脚舐め脚责91| 日韩精品一区第一页| 一区二区三区四区国产精品| 中文字幕免费一区| 国产精品色婷婷| 国产清纯在线一区二区www| 欧美成人一区二区三区在线观看| 67194成人在线观看| 欧美色手机在线观看| 99国产欧美久久久精品| 不卡av电影在线播放| 成人国产精品免费网站| 成人午夜免费视频| 99热这里都是精品| 色哟哟一区二区三区| 色999日韩国产欧美一区二区| 99久久婷婷国产| 色噜噜久久综合| 不卡欧美aaaaa| 国产一区二区三区久久久| 美女免费视频一区二区| 国产在线国偷精品产拍免费yy | 国产一区 二区| 国产麻豆一精品一av一免费| 日韩毛片视频在线看| 亚洲嫩草精品久久| 亚洲综合视频在线| 日韩av午夜在线观看| 久久电影网站中文字幕| 国产乱子轮精品视频| 成人性生交大片免费看中文| 成人99免费视频| 久久综合九色综合97婷婷| 国产性天天综合网| 亚洲免费毛片网站| 天堂va蜜桃一区二区三区漫画版| 日本在线观看不卡视频| 国产一区不卡精品| 一本一道久久a久久精品综合蜜臀| 欧美日韩中文一区| 337p粉嫩大胆噜噜噜噜噜91av| 国产精品欧美综合在线| 亚洲综合在线五月| 久久精品99国产精品日本| 国产白丝网站精品污在线入口| 在线国产亚洲欧美| 欧美精品一区男女天堂| 亚洲乱码国产乱码精品精的特点| 午夜精品福利视频网站| 国产精品性做久久久久久| 99精品一区二区三区| 日韩欧美成人激情| 亚洲人成小说网站色在线| 麻豆一区二区三| 在线亚洲欧美专区二区| 欧美日本在线观看| 亚洲欧美日韩中文字幕一区二区三区 | 亚洲综合在线五月| 国产激情一区二区三区四区 | 久久久久免费观看|