Answer by Nasser Torabzade for jquery child element as trigger

you can use siblings() jQuery function:

$(document).ready(function(){
    $(".forum-title").click(function(){
        $(this).siblings(".subtopic-frame").slideToggle("slow");
        $(this).siblings(".expand").delay("200").fadeToggle();
    });
});

Leave a Reply

Your email address will not be published. Required fields are marked *