I'm having a problem, I have the script below that every time the user uses the browser to go back to the main page this animation script executes.
I would like to know if there is anything I can do to run it only on the first user access, even without refresh.
$(document).ready(function() {
/*ANIMAÇOES*/
//$(".bolhasanimadas").addClass('animated slideInUp');
$(".bolhasanimadas").addClass('animated slideInUp');
$(".animacaoBolhas").delay(4000).slideToggle(50);
$(".LogoAnimado").delay(800).fadeToggle(1);
//$(".LogoAnimado").toggle( 6500 ).delay( 6500 );
/*BARRA DE ROLAGEM*/
setTimeout(function() {
//$('body').css('overflow-y', 'scroll');
$('body').addClass('barraOn');
}, 4000);
});
Explaining better: Actually this jquery is an animation. And I would need a script to run this animation only when the user logs in to the site once. Once it has surfing and by chance give refresh or go back in the browser for Home and animation will not run again. This idea of leaving the animation in an index alone does not help.