toggle partenaires without srcollreveal

This commit is contained in:
2025-11-24 13:52:43 +01:00
parent ac219a3d83
commit e53a8ac4e7
5 changed files with 11 additions and 5 deletions

View File

@@ -243,11 +243,14 @@ document.addEventListener('DOMContentLoaded', function() {
//////////////////////// start script smooth apparition des textes /////////////////
// div.view-rows-wrapper:nth-child(3) > div:nth-child(2) > article:nth-child(1) > div:nth-child(3)
// html.js.sr body div.dialog-off-canvas-main-canvas div.layout-container.partenaires main div.layout-content div.content_container div.views-element-container div.js-view-dom-id-92e061b83776a5ae5f470b8d32637dba5a87d248e6f275adc7abe863e5c527c3.view div.view-rows-wrapper div.views-row article.node-type-partenaire div.field_body
function scrollReaveal(){
const nodes = {
logo : document.querySelectorAll('#logo-animated-container'),
chapeau : document.querySelectorAll('.field_body'),
chapeau : document.querySelectorAll('.field_body:not(article.node-type-partenaire div.field_body)'),
paragraph: document.querySelectorAll('.field_field_textes .paragraph--type--static-parts'),
enjeux : document.querySelectorAll('.field_field_textes .paragraph--type--static-parts .enjeux'),
// mapHome : document.querySelectorAll('.field_field_map_block #block-sitesmapblock'),

View File

@@ -128,7 +128,7 @@
grid-row: 1;
width: 40px;
height: 40px;
margin: 10px auto;
margin: 1rem auto;
border: none;
background-color: transparent;
background-image: url("../img/fleche-bas.svg");