calendrier sur juillet

This commit is contained in:
Ouidade Soussi Chiadmi 2025-07-23 16:18:29 +02:00
parent 824ff8db7d
commit b90195224f
3 changed files with 105 additions and 99 deletions

View File

@ -279,26 +279,29 @@ document.addEventListener('DOMContentLoaded', function() {
//// ancre dans texte au click paragraphe correspondant arrive en dessous du header
(function($, window) {
var adjustAnchor = function() {
//// ancre dans texte au click paragraphe correspondant arrive en dessous du header
var adjustAnchor = function() {
var $anchor = $('.sidebar_first_container'),
fixedElementHeight = 500;
if ($anchor.length > 0) {
$('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);
}
};
};
$(window).on('hashchange', function() {
$(window).on('hashchange', function() {
adjustAnchor();
});
});
//////////////////////// start script smooth apparition des textes /////////////////
function scrollReaveal(){
function scrollReaveal(){
const nodes = {
logo : document.querySelectorAll('#logo-animated-container'),
@ -336,12 +339,12 @@ function scrollReaveal(){
ScrollReveal().reveal(nodes.lienDoc, showUp);
ScrollReveal().reveal(nodes.lienURL, showUp);
}
}
$( document ).ready(function() {
$( document ).ready(function() {
scrollReaveal();
});
});
//////////////////////// end script smooth apparition des textes /////////////////
@ -400,7 +403,7 @@ $( document ).ready(function() {
// Aller au 9e élément à l'initialisation
$('.__timeline-content').on('init', function(event, slick){
slick.slickGoTo(8); // Index 8 = 9e item
slick.slickGoTo(9); // Index 8 = 9e item
});
$('.__timeline-content').slick({

File diff suppressed because one or more lines are too long

View File

@ -221,26 +221,29 @@ document.addEventListener('DOMContentLoaded', function() {
//// ancre dans texte au click paragraphe correspondant arrive en dessous du header
(function($, window) {
var adjustAnchor = function() {
//// ancre dans texte au click paragraphe correspondant arrive en dessous du header
var adjustAnchor = function() {
var $anchor = $('.sidebar_first_container'),
fixedElementHeight = 500;
if ($anchor.length > 0) {
$('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);
}
};
};
$(window).on('hashchange', function() {
$(window).on('hashchange', function() {
adjustAnchor();
});
});
//////////////////////// start script smooth apparition des textes /////////////////
function scrollReaveal(){
function scrollReaveal(){
const nodes = {
logo : document.querySelectorAll('#logo-animated-container'),
@ -278,12 +281,12 @@ function scrollReaveal(){
ScrollReveal().reveal(nodes.lienDoc, showUp);
ScrollReveal().reveal(nodes.lienURL, showUp);
}
}
$( document ).ready(function() {
$( document ).ready(function() {
scrollReaveal();
});
});
//////////////////////// end script smooth apparition des textes /////////////////
@ -342,7 +345,7 @@ $( document ).ready(function() {
// Aller au 9e élément à l'initialisation
$('.__timeline-content').on('init', function(event, slick){
slick.slickGoTo(8); // Index 8 = 9e item
slick.slickGoTo(9); // Index 8 = 9e item
});
$('.__timeline-content').slick({