1$(function() { 2 var topBtn = $('#page-top'); 3 topBtn.hide(); 4 //XN[ª100ÉBµ½ç{^\¦ 5 $(window).scroll(function () { 6 if ($(this).scrollTop() > 600) { 7 topBtn.fadeIn(); 8 } else { 9 topBtn.fadeOut(); 10 } 11 }); 12 //XN[µÄgbv 13 topBtn.click(function () { 14 $('body,html').animate({ 15 scrollTop: 0 16 }, 500); 17 return false; 18 }); 19}); 20 21$(function(){ 22 $('a[href^=#]').click(function() { 23 var speed = 300; 24 var href= $(this).attr("href"); 25 var target = $(href == "#" || href == "" ? 'html' : href); 26 var position = target.offset().top; 27 $($.browser.safari ? 'body' : 'html').animate({scrollTop:position}, speed, 'swing'); 28 return false; 29 }); 30});
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.