réglage sidebar css
This commit is contained in:
@@ -236,9 +236,21 @@ $(function(){
|
||||
|
||||
});
|
||||
|
||||
//// PAGE POPSU ////
|
||||
//menu ouvertur sur page event et actu
|
||||
if($(".page-node-type-evenement").length > 0 || $(".page-node-type-actualite").length > 0){
|
||||
|
||||
if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").length > 0 || $(".page-node-type-theme").length > 0 || $(".page-node-type-evenement").length > 0){
|
||||
$('.views-element-container header').click(function(){
|
||||
$(this).parent().find(".view-grouping").fadeToggle();
|
||||
$(this).parent().find(".views-row").fadeToggle();
|
||||
});
|
||||
|
||||
$('.view-grouping-header').click(function(){
|
||||
$(this).parent().find(".view-grouping-content").slideToggle();
|
||||
});
|
||||
}
|
||||
|
||||
if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").length > 0 || $(".page-node-type-theme").length > 0 ){
|
||||
|
||||
|
||||
$(".field_ressources_liees article").each(function(){
|
||||
let title = $(this).find("h2").clone();
|
||||
@@ -254,7 +266,7 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
|
||||
|
||||
$('.view-grouping-header').click(function(){
|
||||
$(this).parent().find(".view-grouping-content").slideToggle();
|
||||
})
|
||||
});
|
||||
|
||||
//test hauteur
|
||||
let hb = $(".block-region-second .body").height();
|
||||
|
Reference in New Issue
Block a user