1 $(document).ready(function(){ 2 $('.slider').slick({ 3 arrows: false, 4 autoplay: true, 5 centerMode: true, 6 centerPadding: '150px', 7 slidesToShow: 5, 8 dots: true, 9 dotsClass: 'slide-dots', 10 responsive: [{ 11 breakpoint: 1599, 12 settings: { 13 centerPadding: '20px', 14 } 15 },{ 16 breakpoint: 993, 17 settings: { 18 slidesToShow: 3, 19 centerPadding: '50px', 20 } 21 },{ 22 breakpoint: 769, 23 settings: { 24 slidesToShow: 3, 25 centerPadding: '20px', 26 } 27 }] 28 }); 29 $(function() { 30 var defaultMsgNo = 1; 31 $(".slider img").hover(function() { 32 $(".default-msg").removeClass("visible"); 33 var img = $(this).attr('bg-img'); 34 $('.' + img).addClass("visible"); 35 $('.' + img + '-msg').addClass("visible"); 36 $('.first-view-logo img').addClass('invisible'); 37 }, function() { 38 var img = $(this).attr('bg-img'); 39 $('.' + img).removeClass("visible"); 40 $('.' + img + '-msg').removeClass("visible"); 41 $('.first-view-logo img').removeClass('invisible'); 42 43 $(".default-msg span").hide(); 44 if ( defaultMsgNo == 6) { 45 defaultMsgNo = 1; 46 }else{ 47 defaultMsgNo = defaultMsgNo + 1; 48 } 49 $(".default-msg span:nth-of-type("+ defaultMsgNo + ")").show(); 50 // $(".default-msg span:nth-of-type(1)").show(); 51 $(".default-msg").addClass("visible"); 52 }); 53 }); 54 $('.first-view-slider-msg-mobile').slick({ 55 autoplay: true, 56 fade: true, 57 swipe: false, 58 asNavFor: '.first-view-slider-img-mobile', 59 arrows: false, 60 }); 61 $('.first-view-slider-img-mobile').slick({ 62 autoplay: true, 63 fade: true, 64 swipe: false, 65 asNavFor: '.first-view-slider-msg-mobile', 66 arrows: true, 67 appendArrows: $('.first-view-arrows-mobile'), 68 prevArrow: '<span class="first-view-prev-arrow-mobile">\ 69 <svg width="72" height="72" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg">\ 70 <circle cx="30" cy="30" r="29" stroke="#355C9A" stroke-width="1" fill="#fff" fill-opacity=0.8 />\ 71 <path stroke="#355C9A" stroke-width="2" stroke-linecap="round" fill="none" d="M35,30 h-10 m4,-4 l-4,4 l4,4" />\ 72 </svg></span>', 73 nextArrow: '<span class="first-view-next-arrow-mobile">\ 74 <svg width="72" height="72" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg">\ 75 <circle cx="30" cy="30" r="29" stroke="#355C9A" stroke-width="1" fill="#fff" fill-opacity=0.8 />\ 76 <path stroke="#355C9A" stroke-width="2" stroke-linecap="round" fill="none" d="M25,30 h10 m-4,-4 l4,4 l-4,4" />\ 77 </svg></span>', 78 slidesToShow: 1, 79 }); 80 $('.cases-slider').slick({ 81 slidesToShow: 3, 82 dots: true, 83 appendDots: $('.cases-dots'), 84 dotsClass: 'cases-slide-dots', 85 arrows: true, 86 appendArrows: $('.cases-arrows'), 87 prevArrow: '<span class="cases-prev-arrow d-none d-sm-inline">\
88 <svg width="60" height="60" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg">\ 89 <circle class="arrow-circle-stroke" cx="30" cy="30" r="29" stroke="#355C9A" stroke-width="1" fill="none" />\ 90 <path class="prev-arrow" stroke="#355C9A" stroke-width="2" stroke-linecap="round" fill="none" d="M35,30 h-10 m4,-4 l-4,4 l4,4" />\ 91 </svg></span>\ 92 <span class="cases-prev-arrow-mobile d-sm-none">\ 93 <svg width="72" height="72" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg">\ 94 <circle cx="30" cy="30" r="29" stroke="#355C9A" stroke-width="1" fill="none" />\ 95 <path stroke="#355C9A" stroke-width="2" stroke-linecap="round" fill="none" d="M35,30 h-10 m4,-4 l-4,4 l4,4" />\ 96 </svg></span>', 97 nextArrow: '<span class="cases-next-arrow d-none d-sm-inline">\ 98 <svg width="60" height="60" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg">\ 99 <circle class="arrow-circle-stroke" cx="30" cy="30" r="29" stroke="#355C9A" stroke-width="1" fill="none" />\ 100 <path class="next-arrow" stroke="#355C9A" stroke-width="2" stroke-linecap="round" fill="none" d="M25,30 h10 m-4,-4 l4,4 l-4,4" />\ 101 </svg></span>\ 102 <span class="cases-next-arrow-mobile d-sm-none">\ 103 <svg width="72" height="72" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg">\ 104 <circle cx="30" cy="30" r="29" stroke="#355C9A" stroke-width="1" fill="none" />\ 105 <path stroke="#355C9A" stroke-width="2" stroke-linecap="round" fill="none" d="M25,30 h10 m-4,-4 l4,4 l-4,4" />\ 106 </svg></span>', 107 responsive: [{ 108 breakpoint: 1199, 109 settings: { 110 slidesToShow: 2, 111 } 112 }, { 113 breakpoint: 767, 114 settings: { 115 centerPadding: '40px', 116 centerMode: true, 117 slidesToShow: 1, 118 } 119 }] 120 }); 121 $('.cases-slider img').on('inview', function(event, isInView) { 122 if (isInView) { 123 $('.cases-slider img').addClass('visible'); 124 } 125 }); 126 }); 127 128 // ææ°æ å ±ã®é¸æã¿ãåãæ¿ã 129 $(function() { 130 $(".nav-link").click(function() { 131 $('.current').removeClass('current'); 132 $(this).addClass('current'); 133 }); 134 }); 135 136 $(function() { 137 $(".menu-button").click(function() { 138 $('body').toggleClass('no-scroll'); 139 140 var o = $(this).offset(); 141 $('#bento-menu').toggleClass('visible'); 142 $('#bento-menu').offset({ top: o.top, left: o.left }); 143 144 $('.menu-button').toggleClass("menu-button-close"); 145 $('.menu').toggleClass('menu-open'); 146 $('.menu').toggleClass('menu-close'); 147 }); 148 }); 149 150 // ãã¥ã¼ã¹ ãä¸è¦§ãè¦ãããã¿ã³ SPç¨ 151$(function(){ 152 $(".tab-sp1").click(function(){ 153 $("#link-set-sp a").attr("href", "https://geot.jp/news/"); 154 }); 155 $(".tab-sp2").click(function() { 156 $("#link-set-sp a").attr("href", "https://geot.jp/category/event/"); 157 }); 158 $(".tab-sp3").click(function() { 159 $("#link-set-sp a").attr("href", "https://geot.jp/category/info/"); 160 }); 161 $(".tab-sp4").click(function() { 162 $("#link-set-sp a").attr("href", "https://geot.jp/category/pressrelease/"); 163 }); 164 $(".tab-sp5").click(function() { 165 $("#link-set-sp a").attr("href", "https://geot.jp/category/media/"); 166 }); 167}); 168 169// ãã¥ã¼ã¹ ãä¸è¦§ãè¦ãããã¿ã³ PCç¨ 170$(function(){ 171 $(".tab-pc1").click(function(){ 172 $("#link-set-pc a").attr("href", "https://geot.jp/news/"); 173 }); 174 $(".tab-pc2").click(function() { 175 $("#link-set-pc a").attr("href", "https://geot.jp/category/event/"); 176 }); 177 $(".tab-pc3").click(function() { 178 $("#link-set-pc a").attr("href", "https://geot.jp/category/info/"); 179 }); 180 $(".tab-pc4").click(function() { 181 $("#link-set-pc a").attr("href", "https://geot.jp/category/pressrelease/"); 182 }); 183 $(".tab-pc5").click(function() { 184 $("#link-set-pc a").attr("href", "https://geot.jp/category/media/"); 185 }); 186}); 187
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.