I have a function that when a div is click, an animation is proceed. and I want that the user is able to click only one times for not load that animation at every click. Maybe a div clickable one time or a if in the function but I'm not that good in code :)
this is the code
$(function() {
$('#valerie').click(function() {
$('.logo').animate({
'left': 3 + '%'
}, 900);
$('#title2').animate({
'font-size': 40 + 'px',
'top': 42 + '%'
}, 900);
$('body').css({
'overflow': "auto"
}, 20);
});
});