- /*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2006 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License:
- * http://www.opensource.org/licenses/lgpl-license.php
- *
- * For further information visit:
- * http://www.fckeditor.net/
- *
- * "Support Open Source software. What about a donation today?"
- *
- * File Name: common.js
- * Common objects and functions shared by all pages that compose the
- * File Browser dialog window.
- *
- * File Authors:
- * Frederico Caldeira Knabben (fredck@fckeditor.net)
- */
- function AddSelectOption( selectElement, optionText, optionValue )
- {
- var oOption = document.createElement("OPTION") ;
- oOption.text = optionText ;
- oOption.value = optionValue ;
- selectElement.options.add(oOption) ;
- return oOption ;
- }
- var oConnector = window.parent.oConnector ;
- var oIcons = window.parent.oIcons ;
- function StringBuilder( value )
- {
- this._Strings = new Array( value || '' ) ;
- }
- StringBuilder.prototype.Append = function( value )
- {
- if ( value )
- this._Strings.push( value ) ;
- }
- StringBuilder.prototype.ToString = function()
- {
- return this._Strings.join( '' ) ;
- }
------------------------------------------------------------------------------------------------------------------------------------------------------------
- /**
- * POPUP CONTAINER STYLES
- */
- #popupMask {
- position: absolute;
- z-index: 200;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- opacity: .7;
- filter: alpha(opacity=70);
- /* this hack is so it works in IE
- * I find setting the color in the css gives me more flexibility
- * than the PNG solution.
- */
- background-color:transparent !important;
- background-color: #333333;
- /* this hack is for opera support
- * you can uncomment the background-image if you don't care about opera.
- * this gives you the flexibility to use any bg color that you want, instead of the png
- */
- background-image/**/: url("/images/album/maskBG.png") !important; // For browsers Moz, Opera, etc.
- background-image:none;
- background-repeat: repeat;
- display:none;
- }
- #popupContainer {
- position: absolute;
- z-index: 201;
- top: 0px;
- left: 0px;
- display:none;
- padding: 0px;
- }
- #popupInner {
- border: 2px solid #d7d7d7;
- background-color: #ffffff;
- }
- #popupFrame {
- margin: 0px;
- width: 100%;
- height: 100%;
- position: relative;
- z-index: 202;
- }
- #popupTitleBar {
- background-color: #ffffff;
- color: #ffffff;
- font-weight: bold;
- height: 53px;
- /*
- background:url("/images/album/xc_01.gif") repeat ;
- padding: 1px;
- border-bottom: 2px solid #000000;
- border-top: 1px solid #78A3F2;
- border-left: 1px solid #78A3F2;
- border-right: 1px solid #204095;
- */
- position: relative;
- z-index: 203;
- }
- #popupTitle {
- float:left;
- font-size: 1.1em;
- }
- #popupControls {
- float: right;
- cursor: pointer;
- cursor: hand;
- }