1// BY KAREN GRIGORYAN 2 3$(document).ready(function() { 4 /****************************** 5 BOTTOM SCROLL TOP BUTTON 6 ******************************/ 7 8 // declare variable 9 var scrollTop = $(".scrollTop"); 10 11 $(window).scroll(function() { 12 // declare variable 13 var topPos = $(this).scrollTop(); 14 15 // if user scrolls down - show scroll to top button 16 if (topPos > 100) { 17 $(scrollTop).css("opacity", "1"); 18 19 } else { 20 $(scrollTop).css("opacity", "0"); 21 } 22 23 }); // scroll END 24 25 //Click event to scroll to top 26 $(scrollTop).click(function() { 27 $('html, body').animate({ 28 scrollTop: 0 29 }, 800); 30 return false; 31 32 }); // click() scroll top EMD 33 34 35}); // ready() END
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.