1$(function(){ 2 if (window.matchMedia( '(min-width: 769px)' ).matches) {ã//åãæ¿ããç»é¢ãµã¤ãº 3 $('.lang').hover(function(){ 4 $('.toggle').toggleClass('open'); 5 $('.lang_pull').slideToggle(); 6 }) 7 var headerHight = 70; //ãããã®é«ã 8 //#pagelink 9 $(function(){ 10 function pagelink(heightnum){ 11 var headerHight = heightnum; 12 $('a[href^=#]' + 'a:not(.non-scroll)').click(function(){ 13 var href= $(this).attr("href"); 14 var target = $(href == "#" || href == "" ? 'html' : href); 15 var position = target.offset().top-headerHight; //ãããã®é«ãåä½ç½®ãããã 16 $("html, body").animate({scrollTop:position}, 550, "swing"); 17 return false; 18 }); 19 /* outpagelink */ 20 var url = $(location).attr("href"); 21 if (url.indexOf("?id=") == -1) { 22 23 }else{ 24 var url_sp = url.split("?id="); 25 var hash = "#" + url_sp[url_sp.length - 1]; 26 var target2 = $(hash); 27 var position2 = target2.offset().top-headerHight; 28 $("html, body").animate({scrollTop:position2}, 500, "swing"); 29 } 30 } 31 pagelink(70); //ãããã®é«ã 32 }); 33 } else { //ã¢ãã¤ã«ç°å¢ã®å ´å 34 $(".lang .toggle").click(function(){ 35 $(this).toggleClass('open'); 36 $(this).next('ul').slideToggle(); 37 }) 38 //submenu 39 $('.ft_submenu_btn').on('click', function() { 40 $(this).next().slideToggle(); 41 $(this).toggleClass("active"); 42 }); 43 var headerHight = 50; //ãããã®é«ã 44 $(function(){ 45 function pagelink(heightnum){ 46 var headerHight = heightnum; 47 $('a[href^=#]' + 'a:not(.non-scroll)').click(function(){ 48 var href= $(this).attr("href"); 49 var target = $(href == "#" || href == "" ? 'html' : href); 50 var position = target.offset().top-headerHight; //ãããã®é«ãåä½ç½®ãããã 51 $("html, body").animate({scrollTop:position}, 550, "swing"); 52 return false; 53 }); 54 /* outpagelink */ 55 var url = $(location).attr("href"); 56 if (url.indexOf("?id=") == -1) { 57 58 }else{ 59 var url_sp = url.split("?id="); 60 var hash = "#" + url_sp[url_sp.length - 1]; 61 var target2 = $(hash); 62 var position2 = target2.offset().top-headerHight; 63 $("html, body").animate({scrollTop:position2}, 500, "swing"); 64 } 65 } 66 pagelink(50); //ãããã®é«ã 67 }); 68 }; 69 //Headeråºå® 70 $(window).on('scroll', function() { 71 //headeråºå® ã¹ã¯ãã¼ã«æã®class追å 72 if ($(this).scrollTop() > 90) { 73 $('body').addClass('fixheader'); 74 } else { 75 $('body').removeClass('fixheader'); 76 } 77 //sideã®SNSãã¿ã³ 78 if ($(this).scrollTop() > 250) { 79 //$('.sns_btn').fadeIn("fast"); 80 } else { 81 //$('.sns_btn').fadeOut("fast"); 82 } 83 }); 84 $(".pageTop a").click(function(){ 85 $('html,body').animate({ scrollTop: $($(this).attr("href")).offset().top }, 500,'swing'); 86 return false; 87 }); 88 var topBtn = $('.pageTop'); 89 topBtn.hide(); 90 $(window).scroll(function () { 91 if ($(this).scrollTop() > 100) { 92 topBtn.fadeIn(); 93 } else { 94 topBtn.fadeOut(); 95 } 96 }); 97//SP MENU 98 var flg = "close"; 99 $("#sp_menu_btn").click(function(){ 100 if(flg == "close"){ 101 $(this).addClass("active"); 102 $('body').addClass('sp_menu_open'); 103 $("#sp_navi").addClass("active"); 104 flg = "open"; 105 }else{ 106 if(flg == "close"){ 107 location.reload(); 108 } 109 $(this).removeClass("active"); 110 $('body').removeClass('sp_menu_open'); 111 $("#sp_navi").removeClass("active"); 112 flg = "close"; 113 } 114 }); 115 $('.sp_menu_list li a').click(function(){ 116 $('#sp_menu_btn').toggleClass("active"); 117 $('body').toggleClass('sp_menu_open'); 118 $("#sp_menu").fadeOut(1000); 119 }); 120}); 121$(window).on('load', function(){ 122 //telãªã³ã¯ 123 var ua = navigator.userAgent; 124 if(ua.indexOf('iPhone') > 0 && ua.indexOf('iPod') == -1 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0 && ua.indexOf('SC-01C') == -1 && ua.indexOf('A1_07') == -1 ){ 125 $('.tel-link').each(function(){ 126 var str = $(this).text(); 127 $(this).html($('<a>').attr('href', 'tel:' + str.replace(/-/g, '')).append(str + '</a>')); 128 });
129 } 130}); 131
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.