1$(document).ready(function () { 2 3 if (navigator.userAgent.match(/Trident\/7\./)) { 4 $('body').addClass('ie'); 5 $('<link>') 6 .appendTo('head') 7 .attr({ 8 type: 'text/css', 9 rel: 'stylesheet', 10 href: 'css/ieOld_style.css' 11 }); 12 13 console.clear(); 14 } 15 16 $(window).on('scroll', function () { 17 // Get the current vertical scroll position 18 var scrollPosition = $(this).scrollTop(); 19 20 // Check if the scroll position is greater than 300px 21 if (scrollPosition > 300) { 22 $('.down_arrow_wrapper').fadeOut(); // Hides the element smoothly 23 } else { 24 $('.down_arrow_wrapper').fadeIn(); // Shows the element again when scrolling up 25 } 26 }); 27 28 $('.down_arrow_wrapper').on('click', function (e) { 29 e.preventDefault(); 30 var target = $(this).attr("href"); 31 $("html, body").animate({ 32 scrollTop: $(target).offset().top 33 }, 1000); 34 }); 35});
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.