1 2//*-- hover image --------------------------------* 3jQuery(function ($) { 4 $('.item .slider img').hover(function(){ 5 $(this).parents('.item').find('.mainImage img').attr('src', $(this).attr('src')); 6 }); 7}); 8 9 10//*-- slide image --------------------------------* 11jQuery(function ($) { 12 var w = $(window).width(); 13 var x = 750; 14 if (w <= x) { 15 } else { 16 $( document ).ready(function( $ ) { 17 $('.products__list .slider').slick({ 18 infinite: false, 19 slidesToShow: 3 20 }); 21 }); 22 } 23}); 24 25//*-- filter --------------------------------* 26jQuery(function ($) { 27 var is_sp = function () { 28 return ($(window).width() <= 750); 29 }; 30 31 var timer_id; 32 $('form#filter').find('input[type=checkbox]').on({ 33 'change': function () { 34 var $li = $(this).parent('li'); 35 if (!$(this).prop('checked')) { 36 $li.find('input[type=checkbox]').prop("checked", false); 37 $li.find('ul.hiddenMenu').removeClass('active'); 38 } else { 39 if (is_sp()) { 40 $li.find('> ul.hiddenMenu').addClass('active'); 41 } 42 } 43 44 if (!is_sp()) { 45 clearTimeout(timer_id); 46 timer_id = setTimeout(function () { 47 $('form#filter').submit(); 48 }, 0); // 0 - 2000 49 } 50 } 51 }); 52});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.