• Как подружить wow.js (animate.css) и fullpage.js?

    @tokieee Автор вопроса
    Решил проблему следующим образом:
    $('#fullpage').fullpage({
    		verticalCentered: false,
    		autoScrolling: false,
    		easing: 'linear',
                    easingcss3: 'ease',
    		afterSlideLoad: function(anchorLink, index, slideAnchor, slideIndex){
    
    			if ( slideIndex != 0 ) {
    			    wow = new WOW(
    			      {
    			        animateClass: 'animated',
    			        live: true
    			      }
    			    );
    		        wow.init();
    	            }
    		},
    		onSlideLeave: function(anchorLink, index, slideIndex, direction){
    			$('.slide').not('.slide-' + slideIndex).find('.wow').css('visibility', 'hidden');
    		}
    	});
    Ответ написан
    Комментировать