Current File : /home/virtualki/22346/old/script/main_pl.js |
$(function() {
window.CascadeController = {
'currentHash' : '',
'previousHash' : '#!/main',
'cascade' : {
'first' : $('.cascade.first').cascade({
'o-firmie' : { tab: 'tab-1', html:'o-firmie.php', js: '', main:1, openStart:0 },
'wspolpraca' : { tab: 'tab-2', html:'wspolpraca.php', js: '', main:1, openStart:0 },
'wiecej' : { tab: 'tab-3', html:'wiecej.php', js: '', main:1, openStart:0 },
'kontakt' : { tab: 'tab-4', html:'kontakt.php', js: '', main:1, openStart:0 }
}),
'second' : $('.cascade.second').cascade({
// 'produkty' : { tab:'tab-5', html:'', js: '', main:1, openStart:0 },
// 'dostawca' : { tab:'tab-6', html:'', js: '', main:1, openStart:0 },
// 'odbiorca' : { tab:'tab-7', html:'', js: '', main:1, openStart:0 },
// 'play' : { tab:'tab-8', html:'', js: '', main:1, openStart:0 }
})
}
};
// $('#products-slider').nivoSlider({effect: 'slideInLeft', slices: 1, boxCols: 1, boxRows: 1, directionNav: false, controlNav: false, pauseOnHover: false}).css('height', '256px');
$.prettyPolish();
// call $.cookieJar()
$.cookie('megiw_lang', 'pl');
$.cookieJar({
cookieName: 'megiwCookieJarPL',
action: 'prependTo',
target: 'body',
finalOpacity: 1,
message: {
css: {
position: 'relative',
bottom: 0,
padding: '11px',
backgroundColor: '#ccc',
borderBottom: '2px solid #D04519',
}
},
closeButton: {
text: '[ZAMKNIJ]',
css: {
top: '4px',
right: '8px',
color: '#D04519'
}
}
});
});