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
Rui,
I would do something like this:
HTML:
JQUERY:
$(".cont").click(function() {
if ($(this).hasClass("info")){
$("#content-title").text("Your text goes here"); //Set some text in content-title element
$("#content-text").text("Your text goes here"); //Set some text in content-text element
$(".content").slideToggle(500); //Show the content element class
}
});