[jQuery] idTabs Plugin working with class and not id
Hi,
I'm using the idTabs plugin.
I weould like to know if it is possible to have calls on the classes
of the elements (example: ".photo", ".text") and not on the elements
id's.
Here's the script I'm using:
$("#textcontent").idTabs(function(id,list,set){
$("a",set).removeClass("selected")
.filter("[@href='"+id+"']",set).addClass("selected");
for(i in list)
$(list[i]).hide();
$(id).fadeIn(2000);
return false;
});
In fact, I would like to make appear several elements (img, div, etc),
by clicking on a link.
Can someone help me?
Thanks in advance!