I have an issue. I have a code for hidden and visible div, which all works, but I'd like to add fadeIn and Out to it, but it just either doesn't work or it hides my control div.
Here is my code:
Edit: Yap I'm demented, I could just use toggle, don't know why I didn't, guess it was really late
$(document).ready(function(){
$('.text_container').addClass("hidden");
$('.text_container').click(function() {
var $this = $(this);
if ($this.hasClass("hidden")) {
$(this).removeClass("hidden").addClass("visible");
} else {
$(this).removeClass("visible").addClass("hidden");
}
});
}); ```