1// (function($){ 2 // $.fn.UItoTop = function(options) { 3 // console.log("111"); 4 5 // var defaults = { 6 // text: 'To Top', 7 // min: 178, 8 // inDelay:600, 9 // outDelay:400, 10 // containerID: 'toTop', 11 // containerHoverID: 'toTopHover', 12 // scrollSpeed: 1200, 13 // easingType: 'linear' 14 // }, 15 // settings = $.extend(defaults, options), 16 // containerIDhash = '#' + settings.containerID, 17 // containerHoverIDHash = '#'+settings.containerHoverID; 18 19 // $('body').append('<a href="#" title="навеÑÑ ÑÑÑаниÑÑ" id="'+settings.containerID+'">'+settings.text+'</a>'); 20 // $(containerIDhash).hide().on('click.UItoTop',function(){ 21 // $('html, body').animate({scrollTop:0}, settings.scrollSpeed, settings.easingType); 22 // $('#'+settings.containerHoverID, this).stop().animate({'opacity': 0 }, 0, settings.easingType); 23 // return false; 24 // }) 25 // .prepend('<span id="'+settings.containerHoverID+'"></span>') 26 // .hover(function() { 27 // $(containerHoverIDHash, this).stop().animate({ 28 // 'opacity': 1 29 // }, 0, 'linear'); 30 // }, function() { 31 // $(containerHoverIDHash, this).stop().animate({ 32 // 'opacity': 0 33 // }, 0, 'linear'); 34 // }); 35 36 // $(window).scroll(function() { 37 // var sd = $(window).scrollTop(); 38 // console.log("111"); 39 // if(typeof document.body.style.maxHeight === "undefined") { 40 // $(containerIDhash).css({ 41 // 'position': 'absolute', 42 // 'top': sd + $(window).height() - 50 43 // }); 44 // } 45 // if ( sd > settings.min ) 46 // $(containerIDhash).fadeIn(settings.inDelay); 47 // else 48 // $(containerIDhash).fadeOut(settings.Outdelay); 49 // }); 50 // }; 51// })(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.