yjfc_xinxi/js/ckfinder.js

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*
 * CKFinder
 * ========
 * http://ckfinder.com
 * Copyright (C) 2007-2009, CKSource - Frederico Knabben. All rights reserved.
 *
 * The software, this file and its contents are subject to the CKFinder
 * License. Please read the license.txt file before using, installing, copying,
 * modifying or distribute this file or part of its contents. The contents of
 * this file is part of the Source Code of CKFinder.
 *
 * $Revision: 565 $
 */

var CKFinder = function( basePath, width, height, selectFunction )
{
	// The URL path for the installation folder of CKFinder (default = "/ckfinder/").
	this.BasePath = basePath || CKFinder.DEFAULT_BASEPATH ;

	// The CKFinder width (ex: 600, '80%') (default = "100%").
	this.Width	= width || '100%' ;

	// The CKFinder height (ex: 500, '100%') (default = 400).
	this.Height	= height || 400 ;

	// An optional function to be called when the user selects a file in CKFinder.
	this.SelectFunction = selectFunction || null ;
	
	// (Optional) argument of type string that will be passed to the "SelectFunction".
	this.SelectFunctionData = null ;

	// An optional function to be called when the user selects a thumbnail in CKFinder.
	this.SelectThumbnailFunction = selectFunction || null ;

	// (Optional) argument of type string that will be passed to the "SelectThumbnailFunction".
	this.SelectThumbnailFunctionData = null ;

	// If set to true, "Select thumbnail" item will not appear in the context menu.
	this.DisableThumbnailSelection = false ;

	// The name of the CSS class rule assigned to the CKFinder frame (default = "CKFinderFrame").
	this.ClassName = null || 'CKFinderFrame' ;

	// Resource Type and the name of the startup folder, separated with a colon (i.e. "Files:/", "Images:/cars/").
	this.StartupPath = null ;
	
	// Used only when StartupPath is set. If set to true, the initial folder will be opened automatically on startup.
	this.StartupFolderExpanded = false ;
	
	// If set to true, the last opened folder will be opened automatically on startup (if StartupPath is not set).
	this.RememberLastFolder = true ;
	
	// Used to identify the CKFinder object, optional.
	// If set, the Id variable will be passed to the server connector on each request.
	// When RememberLastFolder is enabled and the "Id" is set, CKFinder will remember the last directory in a separate cookie.
	this.Id = null ;
	
	// The server language of the connector
	this.ConnectorLanguage = 'php' ;
}
后面还有 323 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。