1// é度è¨å® 2LineSlideSpeed = 1200; 3 4$(function() { 5 $(window).on('load scroll', function(){ 6 // fadein 7 $('.fadein').each(function(){ 8 var elemPos = $(this).offset().top; 9 var scroll = $(window).scrollTop(); 10 var windowHeight = window.innerHeight ? window.innerHeight: $(window).height(); 11 12 if ( elemPos < scroll + windowHeight - 200){ 13 $(this).addClass('scrollin'); 14 //$(this).find('.line > div').stop().animate( { 'width' : '100%' } , LineSlideSpeed ); 15 } 16 }); 17 18 }); 19 20 $('a[href^=#]').click(function() { 21 var speed = 400; 22 var href= $(this).attr("href"); 23 var target = $(href == "#" || href == "" ? 'html' : href); 24 var position = target.offset().top; 25 $('body,html').animate({scrollTop:position}, speed, 'swing'); 26 return false; 27 }); 28});
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.