1$(function(){ 2 //Emergence.js 3 $(".eg").attr("data-emergence","hidden"); 4 emergence.init({ 5 reset: false, 6 offsetTop: -50, 7 offsetBottom: -50, 8 }); 9 10 //ã¹ããã¡ãã¥ã¼ä½æ 11 var $head = $( 'header' ); 12 var $btn = $('.head-menu'); 13 var $nav = $('header .head-hidden'); 14 $btn.click(function(){ 15 $head.toggleClass('active'); 16 }); 17 $nav.find(".bg").click(function(){ 18 $head.toggleClass('active'); 19 }); 20 21 // ãã©ã©ãã¯ã¹ 22 $(window).on('scroll load', function () { 23 parallaxScroll(); 24 }); 25 function parallaxScroll() { 26 var scrolled = $(window).scrollTop(); 27 $('.parallax').each(function(){ 28 $(this).css({ 29 'transform': 'translateY('+((scrolled - $(this).offset().top) * .15) +'px)' 30 }); 31 }); 32 } 33});
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.