|
@@ -319,17 +319,7 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
|
|
|
$(this).toggleClass("rotate");
|
|
|
|
|
|
});
|
|
|
- //oucvrir le premier
|
|
|
- // $(".field_titre")[0].click();
|
|
|
-
|
|
|
- // $(".field_equipes").parent().find("h2").on("click", function(){
|
|
|
- // $(this).toggleClass("rotate");
|
|
|
- // if($(".field_equipes").is(":visible")){
|
|
|
- // $(".field_equipes").fadeOut("slow");
|
|
|
- // }else{
|
|
|
- // $(".field_equipes").fadeIn("slow");
|
|
|
- // }
|
|
|
- // });
|
|
|
+
|
|
|
$(".field_partenaires").parent().find("h2").on("click", function(){
|
|
|
$(this).toggleClass("rotate");
|
|
|
if($(".field_partenaires").is(":visible")){
|
|
@@ -341,6 +331,17 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
|
|
|
}
|
|
|
});
|
|
|
|
|
|
+ $(".field_equipes").parent().find("h2").on("click", function(){
|
|
|
+ $(this).toggleClass("rotate");
|
|
|
+ if($(".field_equipes").is(":visible")){
|
|
|
+ $(".field_equipes").fadeOut("slow");
|
|
|
+ }else{
|
|
|
+ $(".field_equipes").fadeIn("slow", function(){
|
|
|
+ $(this).css("display","grid")
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
$(".block-region-second .body").on("click", ".more", function(){
|
|
|
|
|
|
$(".body").toggleClass("body_open");
|