1//jQuery to collapse the navbar on scroll 2$(window).scroll(function() { 3 if ($(".navbar").offset().top > 50) { 4 $(".navbar-fixed-top").addClass("top-nav-collapse"); 5 } else { 6 $(".navbar-fixed-top").removeClass("top-nav-collapse"); 7 } 8}); 9 10 11$(window).scroll(function() { 12 if ($(".navbar").offset().top > 50) { 13 $(".navbar-show-all").addClass("navbar-show-all-new"); 14 } else { 15 $(".navbar-show-all").removeClass("navbar-show-all-new"); 16 } 17}); 18 19 20//jQuery for page scrolling feature - requires jQuery Easing plugin 21$(function() { 22 $('a.page-scroll').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 30 31 32});
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.