1$(function () { 2 var stickyRibbonTop = $('.module.-header'); 3 if (stickyRibbonTop.length) { 4 stickyRibbonTop.offset().top; 5 } 6 $(".logodiv").css("visibility", "visible"); 7 8 $(window).scroll(function () { 9 var top = $(window).scrollTop(), 10 counter = top > 10 ? 1 - top * 7 / 1000 : 1; 11 if ($(window).scrollTop() > stickyRibbonTop) { 12 $('.module.-header').css({position: 'fixed', top: '0px', width: '100%', zIndex: "10000"}); 13 } else { 14 $('.module.-header').css({position: 'static', top: '0px'}); 15 } 16 if (counter < 0) { 17 $(".logodiv").css("display", "none"); 18 $(".logohead").css("visibility", "visible"); 19 } else { 20 $(".logodiv").css("display", "block"); 21 $(".logohead").css("visibility", "hidden"); 22 } 23 24 25 $(".logodiv").css('transform', 'scale(' + counter + ')'); 26 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.