1/*! 2 * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) 3 * Code licensed under the Apache License v2.0. 4 * For details, see http://www.apache.org/licenses/LICENSE-2.0. 5 */ 6 7// jQuery to collapse the navbar on scroll 8function collapseNavbar() { 9 if ($(".navbar").offset().top > 50) { 10 $(".navbar-fixed-top").addClass("top-nav-collapse"); 11 } else { 12 $(".navbar-fixed-top").removeClass("top-nav-collapse"); 13 } 14} 15 16$(window).scroll(collapseNavbar); 17$(document).ready(collapseNavbar); 18 19// jQuery for page scrolling feature - requires jQuery Easing plugin 20$(function() { 21 $('a.page-scroll').bind('click', function(event) { 22 var $anchor = $(this); 23 $('html, body').stop().animate({ 24 scrollTop: $($anchor.attr('href')).offset().top 25 }, 1500, 'easeInOutExpo'); 26 event.preventDefault(); 27 }); 28}); 29 30// Closes the Responsive Menu on Menu Item Click 31$('.navbar-collapse ul li a').click(function() { 32 if ($(this).attr('class') != 'dropdown-toggle active' && $(this).attr('class') != 'dropdown-toggle') { 33 $('.navbar-toggle:visible').click(); 34 } 35}); 36 37function init() { 38}
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.