1/* ------------------------------------------------------------------------- 2 3 CREATIVE.common 4 5 ãµã¤ãå ã§å ±éã®ã¹ã¯ãªãããå®ç¾© 6 â»jQueryå¿ é 7 8 9------------------------------------------------------------------------- */ 10 11// ã°ãã¼ãã«åå空éå®ç¾© 12var CREATIVE; 13if (!CREATIVE) CREATIVE = {}; 14if (!CREATIVE.common) CREATIVE.common = {}; 15 16(function (){ 17 // ã°ãã¼ãã«åå空éãªãã¸ã§ã¯ãããã¼ã«ã«ãªãã¸ã§ã¯ãã«ç½®ãæã 18 var ns = CREATIVE.common; 19 var mediaQuery = matchMedia('(max-width: 768px)'); 20 21 ns.kitchenOtherProductsSlider = function() { 22 // ç¾å¨ã®ãã¼ã¸ã®ãã©ã³ããåå¾ 23 var pathParts = location.pathname.split('/').filter(Boolean); 24 var brands = ['sespa', 'bellflower', 'riviere', 'paltage', 'puretz']; 25 var currentBrand = brands.find(function(brand) { 26 return pathParts.includes(brand); 27 }); 28 29 // ç¾å¨ã®ãã©ã³ãã¨åãé ç®ãåé¤ 30 $('.kitchen_other_products_list_item').each(function() { 31 var logoImg = $(this).find('.kitchen_other_products_contents_logo_image img'); 32 var altText = logoImg.attr('alt'); 33 if (altText && altText.toLowerCase().includes(currentBrand)) { 34 $(this).remove(); 35 } 36 }); 37 38 $(".kitchen_other_products_list").slick({ 39 dots: true, 40 arrows: true, 41 autoplay: true, 42 slidesToShow: 3, 43 slidesToScroll: 1, 44 autoplaySpeed: 4000, 45 variableWidth: false, 46 pauseOnHover: false, 47 responsive: [ 48 { 49 breakpoint: 769, 50 settings: { 51 slidesToShow: 1 52 } 53 } 54 ] 55 }); 56 }; 57})(); 58 59 60$(function(){ 61 CREATIVE.common.kitchenOtherProductsSlider(); 62});
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.