What I would like is very simple, but I am struggling with the syntax. When my element clicked, I would like my animate to be triggered and just after the .css(). Thank you in advance for your help. Cheers. Marc.
$('.content').click(function() {
$('#contentWrapper').animate({
"left": "-=475px"}, "fast"),
$(this).prev().css("display": "none");
});
.css("display","none")is the same as.hide()right?