This commit is contained in:
armansansd
2023-06-30 12:01:14 +01:00
parent 2337038abc
commit e3d2d6389a
7 changed files with 31 additions and 6 deletions

View File

@@ -302,9 +302,23 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
$('.views-element-container header').click(function(){
$(this).parent().find(".view-grouping").fadeToggle();
$(this).parent().find(".views-row").fadeToggle();
$(this).parent().find(".views-row:visible").fadeToggle();
$(this).parent().find("h3").fadeToggle();
});
//page projet
$("#programme_toc-block_10 h3").click(function(){
console.log(this);
$(this).nextUntil("h3").fadeToggle();
});
//page programme
$("#programme_toc-block_4 h3").click(function(){
console.log(this);
$(this).nextUntil("h3").fadeToggle();
});
$('.view-grouping-header').click(function(){
$(this).parent().find(".view-grouping-content").slideToggle();