Revision 7dc92704ed651a868575c83c910a4e630264b670 (click the page title to view the current version)
/*
// ClearBox Config File (JavaScript)
*/
var
// CB layout:
CB_WindowColor='#fff', // color of the CB window (note: you have to change the rounded-corner PNGs too!), transparent is also working
CB_MinWidth=120, // minimum (only at images) or initial width of CB window
CB_MinHeight=120, // initial heigth of CB window
CB_WinPadd=15, // padding of the CB window from sides of the browser
CB_RoundPix=12, // change this setting only if you are generating new PNGs for rounded corners
CB_ImgBorder=0, // border size around the picture in CB window
CB_ImgBorderColor='#ddd', // border color around the picture in CB window
CB_Padd=4, // padding around inside the CB window
CB_BodyMarginLeft=0, //
CB_BodyMarginRight=0, // if you set margin to <body>,
CB_BodyMarginTop=0, // please change these settings!
CB_BodyMarginBottom=0, //
CB_ShowThumbnails='auto', // it tells CB how to show the thumbnails ('auto', 'always' or 'off') thumbnails are only in picture-mode!
CB_ThumbsBGColor='#000', // color of the thumbnail layer
CB_ThumbsBGOpacity=.35, // opacity of the thumbnail layer
CB_ActThumbOpacity=.65, // thumbnail opacity of the current viewed image
CB_SlideShowBarColor='#fff', // color of the slideshow bar
CB_SlideShowBarOpacity=.5, // opacity of the slideshow bar
CB_SlideShowBarPadd=17, // padding of the slideshow bar (left and right)
CB_SlideShowBarTop=2, // position of the slideshow bar from the top of the picture
CB_SimpleDesign='off', // if it's 'on', CB doesn't show the frame but only the content - really nice ;)
CB_CloseBtnTop=-10, // vertical position of the close button in picture mode
CB_CloseBtnRight=-14, // horizontal position of the close button in picture mode
CB_CloseBtn2Top=-20, // vertical position of the close button in content mode
CB_CloseBtn2Right=-30, // horizontal position of the close button in content mode
CB_OSD='off', // turns on OSD
// CB font, text and navigation (at the bottom of CB window) settings:
CB_FontT='Verdana', //
CB_FontSizeT=12, // these variables are referring to the title or caption line
CB_FontColorT='#777', //
CB_FontWeightT='normal', //
CB_FontC='arial', //
CB_FontSizeC=11, // these variables are referring to
CB_FontColorC='#aaa', // comment lines under the title
CB_FontWeightC='normal', //
CB_TextAlignC='justify', //
CB_TxtHMax=42, // maximum height of the comment box in pixels
CB_FontG='arial', //
CB_FontSizeG=11, // these variables are referring to the gallery name
CB_FontColorG='#999', //
CB_FontWeightG='normal', //
CB_TextH=35, // default height of the text area under the content in CB window (adding a comment will modify this setting), if you change the font sizes, you maybe have to change this setting
CB_PadT=10, // space in pixels between the content and the title or caption line
CB_ShowURL='off', // it shows the url of the content if no title or caption is given
CB_ItemNum='on', // it shows the ordinal number of the content in galleries
CB_ItemNumBracket='()', // whatever you want ;)
CB_ShowGalName='on', // it shows gallery name
CB_TextNav='on', // it shows previous and next navigation
CB_NavTextImgPrvNxt='on', // it shows previous and next buttons instead of text
CB_ShowDL='on', // it shows download controls
CB_NavTextImgDL='on', // it shows download buttons instead of text
CB_ImgRotation='on', // it shows the image rotation controls
CB_NavTextImgRot='on', // it shows the image rotation buttons instead of text
// Settings of the document-hiding layer:
CB_HideColor='#000', // color of the layer
CB_HideOpacity=.85, // opacity (0 is invisible, 1 is 100% color) of the layer
CB_HideOpacitySpeed=400, // speed of fading
CB_CloseOnH='on', // CB will close, if you click on background
// CB animation settings:
CB_Animation='double', // 'double', 'normal', 'off', 'grow' or 'warp' (high cpu usage)
CB_ImgOpacitySpeed=450, // speed of content fading (in ms)
CB_TextOpacitySpeed=350, // speed of text fading under the picture (in ms)
CB_AnimSpeed=400, // speed of the resizing animation of CB window (in ms)
CB_ImgTextFade='on', // turns on or off the fading of content and text
CB_FlashHide='off', // it hides flash animations on the page before CB starts
CB_SelectsHide='on', // it hides select boxes on the page before CB starts
CB_SlShowTime=5, // default speed of the slideshow (in sec)
CB_Preload='on', // preload neighbour pictures in galleries
// Images using by CB settings:
CB_PictureStart='start.png', //
CB_PicturePause='pause.png', //
CB_PictureClose='close.png', // filenames of some images using by clearbox
CB_PictureNext='next.png', // (there are other images specified in clearbox.css!)
CB_PicturePrev='prev.png', //
// CB professional settings:
CB_PicDir=CB_ScriptDir+'/config/'+CB_Config+'/pic', // CHANGE ONLY IF YOU CHANGED THE DEFAULT DIRECTORY-STRUCTURE OF CB!
CB_AllowedToRun='on', // if 'off', CB won't start (you can change this variable without reload!)
CB_AllowExtFunctLoad='off', // if 'on', CB will run a function named CB_ExternalFunctionLoad(); every time after a new content has loaded (useful for audit, etc)
CB_AllowExtFunctPageLoad='off', // if 'on', CB will run a function named CB_ExternalFunctionPageLoad(); after your page has fully loaded
CB_AllowExtFunctCBClose='off' // if 'on', CB will run a function named CB_ExternalFunctionCBClose(); after CB window has closed
;