1 2//----------------------------------------------- 3// ååç»åã¹ã©ã¤ãã¼ 4//----------------------------------------------- 5$(function(){ 6 // ã¡ã¤ã³ç»åã¹ã©ã¤ãã¼ 7 var visualMainSwiper = new Swiper(".js_goods_visual_main", { 8 navigation: { 9 nextEl: ".swiper-button-next", 10 prevEl: ".swiper-button-prev", 11 }, 12 pagination: { 13 'el': '.swiper-pagination', 14 'type': 'fraction', 15 }, 16 on: { 17 realIndexChange: function () { 18 // ã¢ã¯ãã£ããªãµã ãã¤ã«ãåãæ¿ãã颿°ãå®è¡ 19 toggleThumb(this.activeIndex); 20 }, 21 } 22 }); 23 24 // ãµã ãã¤ã«è¦ç´ ã夿°ã«æ ¼ç´ 25 var $visualThumbs = $('.js_goods_visual_thumb > li'); 26 27 // ã¢ã¯ãã£ããªãµã ãã¤ã«ã«ã¯ã©ã¹ã追å ããã以å¤ã¯ã¯ã©ã¹ãåé¤ 28 function toggleThumb(index) { 29 $visualThumbs.removeClass('active'); 30 $visualThumbs.eq(index).addClass('active'); 31 } 32 33 // ãµã ãã¤ã«ãã¯ãªãã¯ããæã®å¦ç 34 $visualThumbs.on('click', function(){ 35 // ã¤ã³ããã¯ã¹ãåå¾ 36 var i = $visualThumbs.index(this); 37 // ã¢ã¯ãã£ããªãµã ãã¤ã«ãåãæ¿ãã颿°ãå®è¡ 38 toggleThumb(i); 39 // ã¡ã¤ã³ç»åãã¹ã©ã¤ãããã 40 visualMainSwiper.slideTo(i, 300); 41 }); 42 43 // 1çªç®ã®ãµã ãã¤ã«ã«ã¯ãªãã¯ã¤ãã³ããæ¸¡ã 44 $visualThumbs.eq(0).trigger("click"); 45}); 46
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.