You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
602 B

2 years ago
  1. // jQuery for page scrolling feature - requires jQuery Easing plugin
  2. /*
  3. $(function() {
  4. $('a.page-scroll').bind('click', function(event) {
  5. var $anchor = $(this);
  6. $('html, body').stop().animate({
  7. scrollTop: $($anchor.attr('href')).offset().top
  8. }, 1500, 'easeInOutExpo');
  9. event.preventDefault();
  10. });
  11. });
  12. */
  13. // Highlight the top nav as scrolling occurs
  14. $('body').scrollspy({
  15. target: '.navbar-fixed-top'
  16. })
  17. // Closes the Responsive Menu on Menu Item Click
  18. $('.navbar-collapse ul li a').click(function () {
  19. $('.navbar-toggle:visible').click();
  20. });