| Server IP : 188.114.96.3 / Your IP : 216.73.216.143 Web Server : Apache System : Linux sv058.home.net.pl 6.8.2 husak_dirty_pages_fix #1 SMP PREEMPT_DYNAMIC Tue Apr 2 22:06:51 CEST 2024 x86_64 User : ( 3194769) PHP Version : 8.5.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /isez/js/ |
Upload File : |
$(document).ready(function(){
ISEZ.init();
});
var ISEZ = {
init: function() {
ISEZ.tabs();
ISEZ.accordion();
ISEZ.bannerpics();
},
tabs: function () {
$('ul.tabs').each(function(){
var $active, $content, $links = $(this).find('a');
$active = $($links.filter('[href="'+location.hash+'"]')[0] || $links[0]);
$active.parent().addClass('active');
$content = $($active.attr('href'));
$links.not($active).each(function () {
$($(this).attr('href')).hide();
});
$(this).on('click', 'a', function(e){
$(window).scrollTop(0);
$active.parent().removeClass('active');
$content.hide();
$active = $(this);
$content = $($(this).attr('href'));
$active.parent().addClass('active');
$content.show();
e.preventDefault();
});
});
},
accordion: function() {
$('.accordion dd').hide();
$('.accordion dt a').click(function(){
if ($(this).hasClass('active')) {
$(this).removeClass('active');
$(this).parent().next().slideUp();
} else {
$('.accordion dt a').removeClass('active');
$(this).addClass('active');
$('.accordion dd').slideUp();
$(this).parent().next().slideDown();
}
return false;
});
},
bannerpics: function() {
$('*').find('.kregowce').prev().addClass('kregowce');
$('*').find('.bezkregowce').prev().addClass('bezkregowce');
$('*').find('.doswiadczalna').prev().addClass('doswiadczalna');
}
};