1$(window).on('load',function(){ 2 3}); 4 5$(function(){ 6 7 /* ããã ã¡ã¤ã³ã¹ã©ã¤ã */ 8 const mv_slide_cnt = $('.top_mv_list_box').length; 9 const mv_thumb_cnt_pc = $('.top_mv_thumb_box').length - 1; 10 const mv_thumb_cnt_sp = $('.top_mv_thumb_box').length; 11 12 $('.top_mv_thumb').addClass('cnt'+mv_thumb_cnt_sp); 13 14 if( mv_slide_cnt > 1 ){ 15 $('.top_mv_list').slick({ 16 accessibility: false, 17 arrows: false, 18 autoplay: true, 19 fade: false, 20 swipe: false, 21 speed: 700, 22 centerMode: true, 23 centerPadding: '0', 24 slidesToScroll: 1, 25 slidesToShow: 1, 26 variableWidth: true, 27 autoplaySpeed: 5000, 28 dots: false, 29 pauseOnHover : false, 30 asNavFor: ".top_mv_thumb", 31 responsive: [ 32 { 33 breakpoint: 768, 34 settings: { 35 swipe: true, 36 centerMode: false, 37 variableWidth: false, 38 slidesToShow: 1, 39 } 40 } 41 ] 42 }); 43 $(".top_mv_thumb").slick({ 44 asNavFor: ".top_mv_list", 45 arrows: false, 46 centerMode: true, 47 variableWidth: true, 48 slidesToShow: mv_thumb_cnt_pc, 49 slidesToScroll: 1, 50 responsive: [ 51 { 52 breakpoint: 768, 53 settings: { 54 slidesToShow: mv_thumb_cnt_pc, 55 vertical: true, 56 verticalSwiping: true, 57 centerMode: false, 58 variableWidth: false, 59 swipe: false, 60 } 61 } 62 ] 63 }); 64 } 65 66 $('.btn_slide_stop').on('click', function() { 67 $('.top_mv_list').slick('slickPause'); 68 $('.top_mv_thumb').slick('slickPause'); 69 $(this).css('display','none'); 70 $('.btn_slide_play').css('display','block'); 71 }); 72 73 $('.btn_slide_play').on('click', function() { 74 $('.top_mv_list').slick('slickPlay'); 75 $('.top_mv_thumb').slick('slickPlay'); 76 $(this).css('display','none'); 77 $('.btn_slide_stop').css('display','block'); 78 }); 79 80 /* ããã æ¬æ¥éå¬ä¸ã®ã¤ãã³ã */ 81/* 82 const today_slide_cnt = $('.top_today_list_box').length; 83 if( today_slide_cnt > 1 ){ 84 $('.top_today_list').slick({ 85 accessibility: false, 86 arrows: true, 87 prevArrow: '<button type="button" class="slick-prev"></button>', 88 nextArrow: '<button type="button" class="slick-next"></button>', 89 autoplay: true, 90 fade: false, 91 swipe: false, 92 speed: 700, 93 slidesToShow: 4, 94 slidesToScroll: 1, 95 autoplaySpeed: 5000, 96 dots: true, 97 appendArrows: $('.top_today_navi_box'), 98 appendDots: $(".top_today_navi_box"), 99 pauseOnHover : false, 100 responsive: [ 101 { 102 breakpoint: 768, 103 settings: { 104 swipe: true, 105 centerMode: true, 106 slidesToShow: 1, 107 centerPadding: "7%", 108 } 109 } 110 ] 111 }); 112 } 113*/ 114 /* ããã ãããã¯ã¹ */ 115/* 116 const topics_slide_pc_cnt = $('.top_topics_pc .top_topics_list').length; 117 if( topics_slide_pc_cnt > 1 ){ 118 $('.top_topics_pc .top_topics_slide').slick({ 119 accessibility: false, 120 arrows: true, 121 prevArrow: '<button type="button" class="slick-prev"></button>', 122 nextArrow: '<button type="button" class="slick-next"></button>', 123 autoplay: true, 124 fade: false, 125 swipe: false, 126 speed: 700, 127 slidesToShow: 3, 128 slidesToScroll: 1, 129 autoplaySpeed: 5000, 130 dots: true, 131 appendArrows: $('.top_topics_pc .top_topics_navi_box'), 132 appendDots: $(".top_topics_pc .top_topics_navi_box"), 133 pauseOnHover : false, 134 }); 135 } 136 const topics_slide_sp_cnt = $('.top_topics_sp .top_topics_list_box').length; 137 if( topics_slide_sp_cnt > 1 ){ 138 $('.top_topics_sp .top_topics_list').slick({ 139 accessibility: false, 140 arrows: true, 141 prevArrow: '<button type="button" class="slick-prev"></button>', 142 nextArrow: '<button type="button" class="slick-next"></button>', 143 autoplay: true, 144 fade: false, 145 speed: 700, 146 slidesToShow: 1, 147 slideToScroll: 1, 148 centerPadding: "7.5%", 149 centerMode: true, 150 swipe: true, 151 autoplaySpeed: 5000, 152 dots: false, 153 appendArrows: $('.top_topics_sp .top_topics_navi_box'), 154 appendDots: $(".top_topics_sp .top_topics_navi_box"), 155 pauseOnHover : false 156 }); 157 } 158*/ 159});
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.