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

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

?? fck_dialog_common.js

?? 功能齊全的網上商店系統
?? JS
字號:
?/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2008 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:
	oDest.style.cssText = oSource.style.cssText ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
a在线播放不卡| 欧美影片第一页| 色综合欧美在线| 日韩欧美一区二区三区在线| 欧美国产综合一区二区| 午夜精品福利一区二区蜜股av| 99re热视频精品| 亚洲午夜久久久久久久久电影网 | 国产一区二区女| 色狠狠桃花综合| 久久久另类综合| 婷婷久久综合九色综合伊人色| 成人精品国产免费网站| 色综合天天在线| 日韩一区二区三区精品视频| 一区二区三区精品视频在线| 国产盗摄视频一区二区三区| 欧美电影免费观看高清完整版在| 亚洲大片精品永久免费| 99精品视频一区二区三区| 久久久亚洲高清| 国模冰冰炮一区二区| 日韩一区二区三区在线| 天天色综合天天| 欧美日韩色综合| 亚洲一区二区精品久久av| 91免费国产视频网站| 国产精品欧美极品| 成人一区在线观看| 国产欧美视频在线观看| 在线观看日韩国产| 亚洲一区二区三区自拍| 91成人免费在线| 亚洲第一在线综合网站| 欧美丝袜丝交足nylons图片| 亚洲亚洲人成综合网络| 欧美中文字幕亚洲一区二区va在线| 亚洲欧美另类小说视频| 一本色道久久综合狠狠躁的推荐| 亚洲欧美国产三级| 色婷婷综合久久久| 午夜影院久久久| 日韩欧美成人一区| 国产成人h网站| 中文字幕制服丝袜成人av| 色综合久久久久网| 亚洲图片欧美视频| 日韩欧美国产精品一区| 国产精品自拍在线| 日韩一区在线免费观看| 欧美综合视频在线观看| 日本成人在线不卡视频| 欧美精品一区二区不卡| 99久久精品国产网站| 亚洲h精品动漫在线观看| 日韩欧美激情一区| av一二三不卡影片| 午夜不卡av在线| www亚洲一区| 国产亚洲欧洲一区高清在线观看| 大白屁股一区二区视频| 亚洲国产欧美在线| 国产丶欧美丶日本不卡视频| 中文字幕中文字幕在线一区| 欧美在线观看一二区| 久久国产成人午夜av影院| 国产精品免费视频观看| 6080午夜不卡| jlzzjlzz亚洲女人18| 日韩—二三区免费观看av| 国产午夜精品久久久久久免费视 | 国产精品福利一区二区| 91.成人天堂一区| 国产不卡在线视频| 石原莉奈一区二区三区在线观看| 国产欧美日韩在线| 欧美日本韩国一区二区三区视频| 国产精品乡下勾搭老头1| 亚洲图片欧美色图| 日韩在线一区二区| 国产精品福利av| 亚洲精品一区二区三区影院| 色哟哟国产精品免费观看| 国产在线精品一区二区不卡了 | 国产亚洲成aⅴ人片在线观看 | 成人激情综合网站| 99久免费精品视频在线观看| 久久亚洲春色中文字幕久久久| 色狠狠综合天天综合综合| 国产精品18久久久久久久网站| 五月天一区二区| 亚洲六月丁香色婷婷综合久久 | 欧美国产一区在线| 欧美一区在线视频| 欧洲生活片亚洲生活在线观看| 国产一区二区三区四| 日本不卡1234视频| 亚洲国产你懂的| 亚洲欧美偷拍卡通变态| 日本一区二区三区电影| 日韩欧美一二三| 欧美一区二区三区四区在线观看| 在线视频综合导航| 91老司机福利 在线| 99久久99久久免费精品蜜臀| 国产91富婆露脸刺激对白| 国产在线视频精品一区| 久久国产三级精品| 精品在线你懂的| 乱一区二区av| 久久国产剧场电影| 九色综合狠狠综合久久| 久久99日本精品| 精品一区二区久久| 精品一区二区三区视频在线观看 | 欧美日韩1234| 91精品婷婷国产综合久久竹菊| 欧美人妇做爰xxxⅹ性高电影| 在线观看一区不卡| 欧美日韩精品高清| 欧美一区二区在线免费观看| 欧美一级电影网站| 欧美精品一区视频| 国产亚洲精品bt天堂精选| 欧美激情一二三区| 亚洲乱码中文字幕| 亚洲成人在线免费| 美腿丝袜亚洲三区| 国产一区二区在线影院| 成人黄色电影在线 | 日韩一区二区在线看| 欧美一二三四区在线| 欧美xingq一区二区| 国产色婷婷亚洲99精品小说| 日本一区二区三区dvd视频在线| 欧美高清在线视频| 一区二区三区成人在线视频| 午夜欧美一区二区三区在线播放| 免费看黄色91| 国产精品一区二区在线观看网站| 成人动漫中文字幕| 精品视频1区2区3区| 亚洲精品一区在线观看| 国产精品电影一区二区三区| 午夜精品免费在线| 国产成人av一区| 欧洲一区在线电影| 欧美精品一区二区三区蜜桃| 中文字幕在线不卡一区| 午夜精品在线看| 豆国产96在线|亚洲| 欧美日韩一区二区电影| 久久久精品影视| 亚洲成人午夜影院| 成人涩涩免费视频| 3d动漫精品啪啪一区二区竹菊| 久久精品欧美日韩| 日韩成人dvd| 97久久精品人人做人人爽| 日韩三级视频中文字幕| 亚洲欧美国产77777| 黄一区二区三区| 欧美三级中文字| 国产精品免费视频网站| 日本女人一区二区三区| 一本一道久久a久久精品| 亚洲国产一区二区视频| 国产福利一区二区三区视频| 5月丁香婷婷综合| 一区二区免费在线播放| 国产成人精品一区二| 678五月天丁香亚洲综合网| 亚洲免费观看视频| 成人免费福利片| 久久视频一区二区| 免费成人在线观看| 欧美日韩夫妻久久| 亚洲影视资源网| eeuss鲁片一区二区三区在线观看| 日韩久久久精品| 亚洲bt欧美bt精品| 在线亚洲精品福利网址导航| 一区在线观看免费| 成人永久免费视频| 久久久久国产一区二区三区四区| 日韩av不卡一区二区| 欧美男生操女生| 亚洲国产视频在线| 欧美午夜片在线看| 一区二区三区日韩欧美精品| 99国产精品久久久久久久久久 | 高清日韩电视剧大全免费| 日韩美女天天操| 另类小说综合欧美亚洲| 91麻豆精品91久久久久久清纯| 亚洲成av人影院| 亚洲乱码国产乱码精品精可以看| 成人av电影免费观看| 国产精品毛片a∨一区二区三区| 国产+成+人+亚洲欧洲自线|