toggle partenaires without srcollreveal
This commit is contained in:
@@ -301,11 +301,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'),
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3350,7 +3350,7 @@ body {
|
||||
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");
|
||||
|
||||
@@ -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'),
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user