1$(document).ready(function(){ 2// Can also be used with $(document).ready() 3 4$(window).scroll(function() { 5 if ($(this).scrollTop() > 1){ 6 $('header').addClass("sticky"); 7 } 8 else{ 9 $('header').removeClass("sticky"); 10 } 11}); 12 13$(document).ready(function() { 14 $("#owl-demo").owlCarousel({ 15 navigation : true, 16 slideSpeed : 300, 17 paginationSpeed : 400, 18 singleItem:true, 19 autoPlay : 5000, 20 stopOnHover : true, 21 }); 22}); 23 24$(document).ready(function(){ 25 26 $(window).scroll(function(){ 27 if ($(this).scrollTop() > 100) { 28 $('.scrollup').fadeIn(); 29 } else { 30 $('.scrollup').fadeOut(); 31 } 32 }); 33 34 $('.scrollup').click(function(){ 35 $("html, body").animate({ scrollTop: 0 }, 600); 36 return false; 37 }); 38 39 }); 40<!--scrollTop--> 41 42 43 44}); 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
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.