This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/scripts/pagesJS/functions-list.js

14 lines
478 B
JavaScript

$(function () {
/* Apparition au défilement avec animation */
function setWindowScrollAppear() {
var $animate = $('.animate-up, .animate-down, .animate-left, .animate-right');
$animate.appear();
$animate.on('appear', function (event, affected) {
for (var i = 0; i < affected.length; i++) {
$(affected[i]).addClass('animated');
}
});
$.force_appear();
}
setWindowScrollAppear();
});