How can I create a link click animation that triggers when the page is loaded?
(function () {
var index = 0;
var boxes = $('.box1, .box2, .box3, .box4, .box5, .box6');
function start() {
boxes.eq(index).addClass('animated');
++index;
setTimeout(start, 80);
};
start();
})();
I want to implement this animation to occur when a link is clicked. This code is written for animating a CSS animation.