1 var back_to_top_interval; 2 $(document).ready(function(){ 3 $("#back-to-top").hide(); 4 $(function () { 5 $(window).scroll(function(){ 6 if ($(window).scrollTop()>70) 7 { 8 show_back_to_top(); 9 } 10 else 11 { 12 hide_back_to_top(); 13 } 14 }); 15 16 //back to top 17 $("#back-to-top").click(function(){ 18 $('body,html').animate({scrollTop:0},800); 19 return false; 20 }); 21 }); 22 }); 23 24 function show_back_to_top () { 25 $("#back-to-top").fadeIn(500); 26 27 clearInterval(back_to_top_interval); 28 back_to_top_interval = setTimeout(hide_back_to_top, 5000); 29 } 30 31 function hide_back_to_top () { 32 clearInterval(back_to_top_interval); 33 $("#back-to-top").fadeOut(500); 34 }
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.