1$(function(){ 2 var ua = navigator.userAgent; 3 //ã¹ããã ã£ãã 4 if((ua.indexOf('iPhone') > 0) || ua.indexOf('iPod') > 0 || (ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0)){ 5 $('head').prepend('<meta name="viewport" content="width=device-width,initial-scale=1">'); 6 } else { //ãã以å¤(PCã»ã¿ãã¬ãã) 7 $('head').prepend('<meta name="viewport" content="width=960">'); 8 } 9 10 $('#g-nav').meanmenu({ 11 meanMenuClose: "<span /><span />", // ã¯ãã¼ãºãã¿ã³ 12 meanMenuCloseSize: "20px", // ã¯ãã¼ãºãã¿ã³ã®ãã©ã³ããµã¤ãº 13 meanMenuOpen: "<span /><span /><span />", // é常ãã¿ã³ 14 meanRevealPosition: "right", // 表示ä½ç½® 15 meanScreenWidth: "600", // 表示ãããã¦ã£ã³ãã¦ãµã¤ãº(ãã¬ã¤ã¯ãã¤ã³ã) 16 }); 17 18 //ã¹ã¯ãã¼ã« 19 $('a[href^=#]').click(function() { 20 var speed = 400; 21 var href= $(this).attr("href"); 22 var target = $(href == "#" || href == "" ? 'html' : href); 23 var position = target.offset().top; 24 $('body,html').animate({scrollTop:position}, speed, 'swing'); 25 return false; 26 }); 27 28 //é»è©±çªå· 29 var ua = navigator.userAgent; 30 if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0){ 31 $('.tel-link').each(function(){ 32 var str = $(this).text(); 33 $(this).html($('<a>').attr('href', 'tel:' + str.replace(/-/g, '')).append(str + '</a>')); 34 }); 35 } 36 37 //ç»ååãæ¿ã 38 var wid = $(window).width(); 39 if( wid < 600 ){ 40 $('.switch').each(function(){ 41 $(this).attr("src",$(this).attr("src").replace('_pc', '_sp')); 42 }); 43 } 44 45 function accordion() { 46 $(this).toggleClass("active").next().slideToggle(300); 47 } 48 $(".bottom-acc .toggle").click(accordion); 49 50 51 var windowWidth = $(window).width(); 52 var windowSm = 600; 53 if (windowWidth <= windowSm) { 54 } else { 55 var contents = $("#hover-click > .head > .box"); 56 $("#hover-click > .head span").click(function(){ 57 $(contents).toggle(); 58 return false; 59 }); 60 $("#hover-click > .head").mouseover(function(){ 61 $(contents).show(); 62 }) 63 $("#hover-click > .head").mouseout(function(){ 64 $(contents).hide(); 65 }); 66 } 67 68}); 69 70$(function(){ 71 $('.matchHeight').matchHeight(); 72});
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.