Difference between revisions of "Template:BUHW2016"

Line 496: Line 496:
 
(function($) {
 
(function($) {
 
     "use strict"; // Start of use strict
 
     "use strict"; // Start of use strict
 
    // jQuery for page scrolling feature - requires jQuery Easing plugin
 
    $('a.page-scroll').bind('click', function(event) {
 
        var $anchor = $(this);
 
        $('html, body').stop().animate({
 
            scrollTop: ($($anchor.attr('href')).offset().top - 50)
 
        }, 1250, 'easeInOutExpo');
 
        event.preventDefault();
 
    });
 
  
  

Revision as of 18:01, 6 July 2016