1$(document).ready(function(){ 2 3 $('.warning_container .check').click(function(){ 4 $(this).toggleClass('active'); 5 $('.warning_container').addClass('active animated fadeOut').delay(700).hide(0); 6 }); 7 8 $('.warning_container .close').click(function(){ 9 $('.warning_container').addClass('animated fadeOutDown').delay(300).hide(0); 10 }); 11 12 13 14 // go-top 15 $(window).scroll(function(event){ 16 var scroll = $(window).scrollTop(); 17 if (scroll >= 50) { 18 $(".go-top").addClass("show"); 19 } else { 20 $(".go-top").removeClass("show"); 21 } 22 }); 23 24 $('a.go-top').click(function(){ 25 $('body,html').animate({ 26 scrollTop: 0 27 }, 800); 28 }); 29 30}) 31 32var didScroll; 33var lastScrollTop = 0; 34var delta = 5; 35var navbarHeight = $('.warning_container').outerHeight(); 36 37$(window).scroll(function(event){ 38 var st = $(this).scrollTop(); 39 40 if (st > lastScrollTop && st > navbarHeight){ 41 // Scroll Down 42 $('.warning_container').addClass('bottom'); 43 } else { 44 // Scroll Up 45 if(st + $(window).height() < $(document).height()) { 46 $('.warning_container').removeClass('bottom'); 47 } 48 } 49});
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.