add page intervenant
This commit is contained in:
@@ -342,8 +342,79 @@
|
||||
|
||||
}
|
||||
|
||||
function scrollReaveal(){
|
||||
|
||||
const nodes = {
|
||||
hero : document.querySelectorAll('.__img-hero'),
|
||||
hero_participant : document.querySelectorAll('.participant_full .__img'),
|
||||
title_participant: document.querySelectorAll('.participant_full figcaption'),
|
||||
article : document.querySelectorAll('.home #txt_present, article#presentation'),
|
||||
blocs : document.querySelectorAll('#block-views-block-slide-programme-block-1, #block-views-block-dernieres-publications-block-1, .__ressources > *'),
|
||||
p : document.querySelectorAll('article#presentation p, .letter-sort, .participant_full .content > *'),
|
||||
programme: document.querySelectorAll('.programme.container'),
|
||||
thumbnails : document.querySelectorAll('.programme .thumbnails, .views.__publications .thumbnails, .les_intervenants .thumbnails_participants'),
|
||||
node_moment : document.querySelectorAll('#moments .__title, #moments .__wrapper, #moments .__wrap_content .__content > *, #moments .__wrap_side')
|
||||
|
||||
}
|
||||
|
||||
const showUp = {
|
||||
origin: 'bottom',
|
||||
delay: 100,
|
||||
duration: 600,
|
||||
distance: '50px',
|
||||
easing: 'cubic-bezier(0.5, 0, 0, 1)'
|
||||
}
|
||||
|
||||
const Show = {
|
||||
delay: 100,
|
||||
duration: 600,
|
||||
easing: 'cubic-bezier(0.5, 0, 0, 1)'
|
||||
}
|
||||
|
||||
const showleft = {
|
||||
origin: 'left',
|
||||
delay: 100,
|
||||
duration: 600,
|
||||
distance: '50px',
|
||||
easing: 'cubic-bezier(0.5, 0, 0, 1)'
|
||||
}
|
||||
|
||||
console.log(nodes.front);
|
||||
|
||||
ScrollReveal().reveal(nodes.hero, Show);
|
||||
ScrollReveal().reveal(nodes.hero_participant, showleft);
|
||||
ScrollReveal().reveal(nodes.article, showUp);
|
||||
ScrollReveal().reveal(nodes.blocs, showUp);
|
||||
ScrollReveal().reveal(nodes.p, showUp);
|
||||
ScrollReveal().reveal(nodes.programme, showUp);
|
||||
ScrollReveal().reveal(nodes.thumbnails, showUp);
|
||||
ScrollReveal().reveal(nodes.views, showUp);
|
||||
ScrollReveal().reveal(nodes.title_participant, Show);
|
||||
ScrollReveal().reveal(nodes.node_moment, showUp);
|
||||
// ScrollReveal().reveal(nodes.ArticleP, showUp);
|
||||
// ScrollReveal().reveal(nodes.ArticleH3, showUp);
|
||||
|
||||
// ScrollReveal().reveal(nodes.ArticleHn, showUp);
|
||||
// ScrollReveal().reveal(nodes.ArticleRs, showUp);
|
||||
// ScrollReveal().reveal(nodes.Block, showUp);
|
||||
// ScrollReveal().reveal(nodes.Thumbnails, showUp);
|
||||
// ScrollReveal().reveal(nodes.SortLetter, showUp);
|
||||
// ScrollReveal().reveal(nodes.Portrait, showleft);
|
||||
// ScrollReveal().reveal(nodes.PortraitFigcap, {
|
||||
// delay: 200,
|
||||
// duration: 600,
|
||||
// easing: 'cubic-bezier(0.5, 0, 0, 1)'
|
||||
|
||||
// });
|
||||
|
||||
// ScrollReveal().reveal(nodes.Ressource_intervenant, showUp);
|
||||
|
||||
|
||||
}
|
||||
|
||||
$( document ).ready(function() {
|
||||
// currenturl();
|
||||
scrollReaveal();
|
||||
notes();
|
||||
slide();
|
||||
burger();
|
||||
|
||||
Reference in New Issue
Block a user