$("#show-sidebar").click(function () {
$(this).fadeOut("fast");
$("#sidebar").animate({
marginLeft: "0"
}, "fast");
$("#content").toggleClass("full");
});
What I wanto to do is, I guess, pretty simple: For each of this actions to execute, I need it to wait untill the previous one finishes.