Receipt of id heading
-
There's a part of the code that runs the Accordeon through jquery, i.e. the click on the block.
h4
next to him, the block in the paragraphp
either turns or turns:$(".accord h4").click(function(){ $(this).next("p").slideToggle("slow").siblings("p:visible").slideUp("slow"); $(this).toggleClass("active"); $(this).siblings("h4").removeClass("active"); });
There was a need to draw at the time of the click.
id
This haeder (whipped) and hide in the variable for further processing. How do you do that? Lost in the chewing structure.
-
Like: $(this).attr("id)