1//jQuery(document).ready(function($){ 2$(window).load(function(){ 3 //open/close primary navigation 4 var current_scrollY; 5 6 $('.cd-primary-nav-trigger').on('click', function(){ 7 $('.cd-menu-icon').toggleClass('is-clicked'); 8 $('.cd-header').toggleClass('menu-is-open'); 9 10 //in firefox transitions break when parent overflow is changed, so we need to wait for the end of the trasition to give the body an overflow hidden 11 if( $('.cd-primary-nav').hasClass('is-visible') ) { 12 $('.cd-primary-nav').removeClass('is-visible').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',function(){ 13 $('body').removeClass('overflow-hidden'); 14 $( '#wrapper' ).attr( { style: '' } ); 15 $( 'html, body' ).prop( { scrollTop: current_scrollY } ); 16 }); 17 } else { 18 $('.cd-primary-nav').addClass('is-visible').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',function(){ 19 $('body').addClass('overflow-hidden'); 20 $( '#wrapper' ).css( { 21 position: 'fixed', 22 width: '100%', 23 top: -1 * current_scrollY 24 } ); 25 }); 26 current_scrollY = $( window ).scrollTop(); 27 } 28 }); 29 30 var reserveLink = $('#header-wrap .reserveLink.fixed'); 31 // ãã¿ã³é表示 32 reserveLink.hide(); 33 34 // 100px ã¹ã¯ãã¼ã«ããããã¿ã³è¡¨ç¤º 35 $(window).scroll(function () { 36 if ($(this).scrollTop() > 100) { 37 reserveLink.fadeIn(); 38 } else { 39 reserveLink.fadeOut(); 40 } 41 }); 42});
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.