home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
grafika-wolowiec.cba.pl
/
grafika-wolowiec.cba.pl.tar
/
grafika-wolowiec.cba.pl
/
res
/
x5settings.js
< prev
next >
Wrap
Text File
|
2014-01-24
|
2KB
|
94 lines
(function ( $, x5engine ) {
var x = x5engine,
s = x.settings,
p = s.currentPath,
b = x.boot;
b.push(function () {
x.setupDateTime();
x.imAccess.showLogout();
x.utils.autoHeight();
x.cart.ui.updateWidget();
x.imGrid.init();
});
b.push(function () {
x.menu({
target: '#imMnMn',
showCurrent: false,
verticalScroll: false,
orientation: 'horizontal',
menuHeight: 26,
menuWidth: 120,
submenuHeight: 22,
submenuWidth: 160,
opacity: 0.800,
type: 'singleColumn',
alignment: 'left',
effect: 'fade'
});
});
b.push(function () { x.utils.imPreloadImages([p + 'menu/main.png',p + 'menu/main_h.png', p + 'res/imLoad.gif', p + 'res/imClose.png']); });
// ShowBox
$.extend(s.imShowBox, {
'effect' : 'fade',
'shadow' : '',
'background' : '#000000',
'borderWidth' : {
'top': 1,
'right': 1,
'bottom': 1,
'left': 1
},
buttonRight: {
url: p + 'res/b01_r.png',
position: {
x: -12,
y: 0
}
},
buttonLeft: {
url: p + 'res/b01_l.png',
position: {
x: -12,
y: 0
}
},
'borderRadius' : '5px 5px 5px 5px',
'borderColor' : '#000000 #000000 #000000 #000000',
'textColor' : '#000000',
'fontFamily' : 'Tahoma',
'fontStyle' : 'normal',
'fontWeight' : 'normal',
'fontSize' : '9pt',
'textAlignment' : 'left',
'boxColor' : '#FFFFFF',
'opacity' : 0.700,
'radialBg' : true // Works only in Mozilla Firefox and Google Chrome
});
// PopUp
$.extend(s.imPopUp, {
'effect' : 'fade',
'width' : 500,
'shadow' : '',
'background' : '#000000',
'borderRadius' : 10,
'textColor' : '#000000',
'boxColor' : '#FFFFFF',
'opacity' : 0.700
});
// Tip
$.extend(s.imTip, {
'borderRadius' : 0,
'arrow' : true,
'position' : 'bottom',
'effect' : 'none',
'showTail' : true
});
// Captcha
var codes = s.imCaptcha.offlineCodes;
s.loaded = true;
})( _jq, x5engine );