1$(function(){ 2 //SPå¤å® 3 var isSP; 4 $(window).on('load resize', function(){ 5 if ( window.innerWidth > 767 ) { 6 isSP = false; 7 } else if ( window.innerWidth < 768 ) { 8 isSP = true; 9 } 10 }); 11 12 //ãã¼ã¸ãããã¸æ»ããã¿ã³ã®è¡¨ç¤º 13 var _ptBtnShow = false; 14 $(window).on('scroll', function(){ 15 var st = $(window).scrollTop(); 16 if ( st > 100 && _ptBtnShow == false ) { 17 $('.scroll').stop(true,true).fadeOut(); 18 $('.pagetop').stop(true,true).fadeIn(); 19 _ptBtnShow = true; 20 } else if ( st < 101 && _ptBtnShow == true ) { 21 $('.scroll').stop(true,true).fadeIn(); 22 $('.pagetop').stop(true,true).fadeOut(); 23 _ptBtnShow = false; 24 } 25 }); 26 27 //ãã¼ã¸ãããã¸æ»ããã¿ã³åä½ 28 $('.pagetop').on('click', function(){ 29 $('html,body').animate({'scrollTop':0},500); 30 }); 31 32 //ãã³ãã¼ã¬ã¡ãã¥ã¼åä½ãã¡ãã¥ã¼å±éæãã©ã¦ã¶ã®ã¹ã¯ãã¼ã«ç¦æ¢ 33 $('.menu').on('click', function(){ 34 if ( $('header .menu').hasClass('pushed') == true ) { 35 $('header nav.first').removeClass('opened'); 36 } else { 37 $('header nav.first').addClass('opened'); 38 } 39 $('header .menu').toggleClass('pushed'); 40 $('nav').slideToggle(); 41 }); 42 43 $('.has-sub .toggle').on('click', function(){ 44 $(this).toggleClass('pushed'); 45 $(this).parent().parent().next().slideToggle(); 46 }); 47 48 //matchHeight 49 var jQ_body = $('body'); 50 51 jQ_body.find('.matchheight').matchHeight(); 52 53 //gnavi 54 $('.headerMenu').load('/inc/navi.html',function(){ 55 56 //PCå´ ãããã¡ãã¥ã¼ãã©ã¦ãã¦ã³ 57 var jQ_gnav = $('.g-nv'); 58 59 jQ_gnav.find('.has-sub').hover(function(e) { 60 if (!$(this).hasClass('opened')) { 61 jQ_gnav.find('.sub').css('opacity', 0).removeClass('opened'); 62 jQ_gnav.find('.has-sub').removeClass('opened'); 63 $(this).addClass('opened'); 64 $(this).next('.sub').addClass('opened'); 65 $(this).next('.sub').stop().animate({'opacity': 1}, 200); 66 } 67 }); 68 $(document).mousemove(function(e) { 69 if (!$(e.target).closest('.g-nv').length) { 70 if (jQ_gnav.find('.has-sub').hasClass('opened')) { 71 jQ_gnav.find('.has-sub').removeClass('opened'); 72 jQ_gnav.find('.sub').stop().animate({'opacity': 0}, 200, function() { 73 $(this).removeClass('opened'); 74 }); 75 } 76 } 77 }); 78 79 }); 80 81 //news 82 if (0 < $('.news_menu').size()){ 83 $('.news_menu').load('/inc/news_menu.html',function(){ 84 var loc = location.pathname, 85 dir = loc.substring(0, loc.lastIndexOf('/')) + '/', 86 dir = dir.split('/'); 87 88 $('.news_menu li').each(function(index) { 89 menuDir = $(this).find('a').attr('href').split('/'); 90 if(dir[2] == menuDir[2]){ 91 $(this).addClass('stay'); 92 return false; 93 } 94 }); 95 }); 96 } 97 98 //footer 99 if (0 < $('footer').size()){ 100 $('footer').load('/inc/footer.html'); 101 } 102}); 103 104var _gaq = _gaq || []; 105_gaq.push(['_setAccount', 'UA-33576856-1']); 106_gaq.push(['_trackPageview']); 107 108(function() { 109 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 110 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 111 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 112})();
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.