1(function ($) { 2 3 new WOW().init(); 4 5 jQuery(window).load(function() { 6 jQuery("#preloader").delay(100).fadeOut("slow"); 7 jQuery("#load").delay(100).fadeOut("slow"); 8 }); 9 10 11 //jQuery to collapse the navbar on scroll 12 $(window).scroll(function() { 13 if ($(".navbar").offset().top > 50) { 14 $(".navbar-fixed-top").addClass("top-nav-collapse"); 15 } else { 16 $(".navbar-fixed-top").removeClass("top-nav-collapse"); 17 } 18 }); 19 20 //jQuery for page scrolling feature - requires jQuery Easing plugin 21 $(function() { 22 $('.navbar-nav li a').bind('click', function(event) { 23 var $anchor = $(this); 24 $('html, body').stop().animate({ 25 scrollTop: $($anchor.attr('href')).offset().top 26 }, 1500, 'easeInOutExpo'); 27 event.preventDefault(); 28 }); 29 $('.page-scroll a').bind('click', function(event) { 30 var $anchor = $(this); 31 $('html, body').stop().animate({ 32 scrollTop: $($anchor.attr('href')).offset().top 33 }, 1500, 'easeInOutExpo'); 34 event.preventDefault(); 35 }); 36 }); 37 38})(jQuery);
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.