1$(document).ready(function() { 2 // $(window).on("load",function() { 3 $('.body_inner').fadeIn(800).removeClass("js-body_inner"); 4 // }); 5 6 // header 7 $(function() { 8 // var $win = $(window), 9 // $cloneNav = $('#js-header_gnav').clone().addClass('clone-nav').appendTo('body'), 10 // showClass = 'is-show'; 11 12 // $win.on('load scroll', function() { 13 // var value = $(this).scrollTop(); 14 // if (value > 250) { 15 // $cloneNav.addClass(showClass); 16 // } else { 17 // if (value > 200) { 18 // $('ul.smenu').css('display', 'none'); 19 // } 20 // $cloneNav.removeClass(showClass); 21 // } 22 // }); 23 24 $('#headernav span').click(function() { 25 $(this).next('ul.smenu').slideToggle(); 26 return false; 27 }); 28 }); 29 30 hamburger 31 var hamburger = $('#js-hamburger'); 32 var nav = $('#js-header_gnav'); 33 var close = $('#js-header_close'); 34 hamburger.click(function() { 35 $(this).toggleClass('active'); 36 if (!$(this).hasClass('active')) { 37 $(this).removeClass('active'); 38 } 39 if (nav.css('display') == 'block') { 40 nav.slideUp(); 41 var speed = 500; 42 var href = $(this).attr("href"); 43 var target = $(href == "#" || href == "" ? 'html' : href); 44 var position = target.offset().top; 45 $("html, body").animate({ 46 scrollTop: position 47 }, speed, "swing"); 48 return false; 49 } else { 50 nav.slideDown(); 51 } 52 }); 53 54// close.click(function() { 55// hamburger.removeClass('active'); 56// nav.slideUp(); 57// }); 58 59// // style 60// var timer = false; 61// var windowWidth = $(window).width(); 62// $(window).resize(function() { 63// if (timer !== false) { 64// clearTimeout(timer); 65// } 66// timer = setTimeout(function() { 67// var nowWidth = $(window).width(); 68// if (windowWidth !== nowWidth) { 69// hamburger.removeClass('active'); 70// nav.removeAttr('style'); 71// } 72// windowWidth = nowWidth; 73// }, 200); 74// }); 75 76}); 77 78// $(function() { 79// var h = $(window).height(); 80// $('#loader-bg').height(h).css('display', 'block'); 81// }); 82 83// $(window).load(function() { 84// $('#loader-bg').delay(900).fadeOut(500); 85// }); 86 87// function stopload() { 88// $('#loader-bg').delay(900).fadeOut(500); 89// } 90 91// $(window).on("pageshow", function() { 92// if (event.persisted) { 93// window.location.reload(); 94// } 95// }); 96 97// $(function() { 98// $('body a:not(.no-loading)').on("click", function() { 99// var url = $(this).attr('href'); 100// if (url != '') { 101// $('.body_inner').fadeOut(500); 102// setTimeout(function() { 103// location.href = url; 104// }, 500); 105// } 106// return false; 107// }); 108// });
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.