Your IP : 3.136.158.34
$(document).ready(function() {
$(".hamburger").on('click', function() {
$(this).toggleClass("open");
$('.main__nav').slideToggle();
});
$(".catalog_menu_label").on('click', function() {
$(this).toggleClass("open");
$('.main__nav').slideToggle();
});
var resizeMenu = function() {
var widthSize = window.innerWidth;
if (widthSize <= 767) {
$('.main__nav').removeClass('fl__size');
$('.bx_filter_parameters_box').removeClass('active');
} else {
$('.main__nav').addClass('fl__size');
}
};
$(window).resize(function() {
resizeMenu();
});
resizeMenu();
$('.listing__sort__list').on('click', function() {
$(this).find('ul').slideToggle();
$('body').append('<div class="tr__fade"></div>');
$('.tr__fade').on('click', function() {
$('.listing__sort__list').find('ul').fadeOut();
$(this).remove();
})
});
$();
tbw();
$('.new__width').on('click', function() {
tbw();
});
$('#imageGallery').lightSlider({
gallery: true,
item: 1,
loop: true,
thumbItem: 3,
slideMargin: 0,
enableDrag: false,
currentPagerPosition: 'left',
onSliderLoad: function(el) {
el.lightGallery({
selector: '#imageGallery .lslide'
});
}
});
$("#owl-example").owlCarousel({
items: 3,
itemsDesktop: [1200, 3],
itemsDesktopSmall: [992, 2],
itemsTablet: [767, 1],
pagination: false,
navigation: true
});
$('.js_brands__slider').owlCarousel({
pagination: true,
navigation: true,
itemsTablet: [768, 3],
itemsMobile: [479, 1]
});
$('.owl-prev').html('<i class="icon-left-open"></i>');
$('.owl-next').html('<i class="icon-right-open"></i>');
$('.user__content img').addClass('img-responsive');
$('.corp__filter__part p').on('click', function() {
$(this).next('ul').slideToggle();
$(this).find('i').toggleClass('icon-right-dir icon-down-dir');
});
var wheight = screen.height;
if(wheight == 768){
$('.caption__text').css('display','none');
$('.carousel-indicators').css('bottom',-15);
$('.caption__button').css('line-height', '50px')
}
});
function tbw() {
var tbWidth = $('.data-table tr:first-child > td').length;
$('.data-table, .bx_compare').css('width', 292.5 * tbWidth);
};