I have several elements with the class .track, when any one is clicked the #controls div appears with this animation, but I need it to only occur once. I tried several forms of the internet but I could not, one that came closer did not repeat when clicking on the same element with the class, but clicking on another element it repeats. Here:
$(document).ready(
function(){
$(".track").one("click", function () {
$("#controls").fadeIn()
.css({bottom:-50,position:'absolute'})
.animate({bottom:0}, 500, function() {
});
});
});