1 2 (function ($) { 3 4 "use strict"; 5 6 // // PRE LOADER 7 // $(window).load(function(){ 8 // $('.preloader').fadeOut(1000); // set duration in brackets 9 // }); 10 11 // CUSTOM LINK 12 $('.custom-link').click(function(){ 13 var el = $(this).attr('href'); 14 var elWrapped = $(el); 15 var header_height = $('.navbar').height() + 10; 16 17 scrollToDiv(elWrapped,header_height); 18 return false; 19 20 function scrollToDiv(element,navheight){ 21 var offset = element.offset(); 22 var offsetTop = offset.top; 23 var totalScroll = offsetTop-navheight; 24 25 $('body,html').animate({ 26 scrollTop: totalScroll 27 }, 300); 28 } 29}); 30 31 })(window.jQuery); 32 33
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.