Thank you, in advance, for those who answer =)
I\'m trying to switch between divs when i click the links with the respective class (as follow on the code bellow).
It works f
May be this work.
$(document).ready(function(){
$(".content").hide();
$("#cont").click(function() {
if ($(this).hasClass("info")){ $(".info").slideToggle(500); }
if ($(this).hasClass("gallery")){ $(".gallery").slideToggle(500); }
if ($(this).hasClass("projects")){ $(".projectos").slideToggle(500); }
if ($(this).hasClass("contacts")){ $(".contactos").slideToggle(500); }
// $(".content").slideToggle(500);
});
});