You're using "smart quotes" as opposed to regular quotes. Also, there is no need for the a
tag, you can remove it and apply the click function directly to triangolo
$("#triangolo").click(function(){
$("#top-bg").slideToggle("slow");
$(this).toggleClass("active"); return false;
});