1 (function($){ 2 $(function(){ 3 var e = $(".scrollTop"); 4 var speed = 500; 5 e.click(function(){ 6 $("html:not(:animated)" +( !$.browser.opera ? ",body:not(:animated)" : "")).animate({ scrollTop: 0}, 500 ); 7 return false; //важно! 8 }); 9 //поÑвление 10 function show_scrollTop(){ 11 ( $(window).scrollTop()>300 ) ? e.fadeIn(600) : e.hide(); 12 } 13 $(window).scroll( function(){show_scrollTop()} ); show_scrollTop(); 14 }); 15 16})(jQuery)
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.