1$(document).ready(function(){ 2 3 $(window).scroll( function() { //æ»å¨æ¶è§¦å 4 var top = $(document).scrollTop(); //è·åæ»å¨æ¡å°é¡¶é¨çåç´é«åº¦ 5 var height = $(window).height(); //è·å¾å¯è§æµè§å¨çé«åº¦ 6 if(top > 1/10*height){ //å°ä¸å®é«åº¦æ¾ç¤º 7 $("#moveTotop").fadeIn(300); 8 }else { 9 $("#moveTotop").fadeOut(300); 10 } 11 }); 12 /*ç¹å»åå°é¡¶é¨*/ 13 $('#moveTotop').click(function(){ 14 $('html, body').animate({ 15 scrollTop: 0 16 }, 500); 17 }); 18});
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.