public/static/index/js/script.js
// Init waypoints for header and footer animations
Init waypoints for header and footer animations
Init waypoints for header and footer animations
function waypointsInit() {
    $('#masthead').waypoint(function(direction) {
       $(this).addClass('animation-on');
    });
    $('#main').waypoint(function(direction) {
       $('#masthead').toggleClass('animation-on');
    });
    $('#footer').waypoint(function(direction) {
      $(this).toggleClass('animation-on');
    } , { offset: 'bottom-in-view' });
	}
function waypointsInit ( ) { $ ( '#masthead' ) . waypoint ( function ( direction ) { $ ( this ) . addClass ( 'animation-on' ) ; } ) ; $ ( '#main' ) . waypoint ( function ( direction ) { $ ( '#masthead' ) . toggleClass ( 'animation-on' ) ; } ) ; $ ( '#footer' ) . waypoint ( function ( direction ) { $ ( this ) . toggleClass ( 'animation-on' ) ; } , { offset : 'bottom-in-view' } ) ; }
Init waypoints for header and footer animations
Init waypoints for header and footer animations