$(document).ready(function(){
$(".articulos h3:first").addClass("active");
$(".articulos p:first(:first)").hide();
$(".articulos p:not(:first)").hide();
$(".articulos dl:first(:first)").hide();
$(".articulos dd:first(:first)").hide();
$(".articulos h3").click(function(){
$(this).next("p").slideToggle("slow")
.siblings("p:visible").slideUp("slow");
$(this).toggleClass("active");
$(this).siblings("h3").removeClass("active");
});
$(".articulos h2").click(function(){
$(this).next("dl").slideToggle("slow")
.siblings("dl:visible").slideUp("slow");
$(this).toggleClass("active");
$(this).siblings("h2").removeClass("active");
});
$(".articulos dt").click(function(){
$(this).next("dd").slideToggle("slow")
.siblings("dd:visible").slideUp("slow");
$(this).toggleClass("active");
$(this).siblings("dt").removeClass("active");
});
});
Los nombres de los aparatados los tengo en h3 a excepción del último que lo tengo en un h2, los elementos del h3 están entre <p> y </p> y los del h2 entre <dl> y </dl>
Les agradezco mucho si me pueden ayudar con esto pues ya llevo 2 días atorado
![:-S](http://static.forosdelweb.com/fdwtheme/images/smilies/crap.png)