1 2(function($) { 3 $(function(){ 4 $(document).on('contextmenu', function(e) { 5 return false; 6 }); 7 //inview 8 $('.fade').on('inview', function(event, isInView) { 9 if (isInView) { 10 $(this).stop().addClass('show'); 11 } 12 }); 13 14 $('#btn-menu').on('click', function() { 15 16 if ($(this).hasClass('close')) { 17 $(this).removeClass('close'); 18 19 $('#menu').fadeOut(300); 20 $('#menu .nav li').removeClass('show'); 21 } else { 22 $(this).addClass('close'); 23 $('#menu').fadeIn(300); 24 $('#menu .nav li').addClass('show'); 25 } 26 return false; 27 }); 28 29 $('#btn-pagetop').on('click', function() { 30 $('body,html').animate({ 31 scrollTop: 0 32 }, 600); 33 return false; 34 }); 35 }); 36 $(window).on('load', function() { 37 $('#wrapper').css('display', 'block'); 38 $('#loader-box').delay(600).fadeOut(500); 39 }); 40 $(function(){ 41 setTimeout(function() { 42 if ($('#loader-box').is(':visible')) { 43 $('#wrapper').css('display', 'block'); 44 $('#loader-box').delay(600).fadeOut(500); 45 } 46 }, 7000); 47 }); 48 49})(jQuery);
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.