initialise calendrier goto

This commit is contained in:
Ouidade Soussi Chiadmi 2025-04-08 21:53:12 +02:00
parent 1aae363439
commit e4d3a32ed1
5 changed files with 15 additions and 1 deletions

View File

@ -382,6 +382,12 @@ $( document ).ready(function() {
// ////////////////////// start calendrier home /////////////////////////////////
$(document).ready(function(){
// Aller au 9e élément à l'initialisation
$('.__timeline-content').on('init', function(event, slick){
slick.slickGoTo(8); // Index 8 = 9e item
});
$('.__timeline-content').slick({
slidesToShow: 3,
slidesToScroll: 1,

File diff suppressed because one or more lines are too long

View File

@ -1707,6 +1707,7 @@ footer {
font-size: 1.7rem;
font-family: "gilroy-semibold";
padding-left: 0.5rem;
line-height: 1.5rem;
}
#actus-caroussel button {
top: -2.5rem;

View File

@ -324,6 +324,12 @@ $( document ).ready(function() {
// ////////////////////// start calendrier home /////////////////////////////////
$(document).ready(function(){
// Aller au 9e élément à l'initialisation
$('.__timeline-content').on('init', function(event, slick){
slick.slickGoTo(8); // Index 8 = 9e item
});
$('.__timeline-content').slick({
slidesToShow: 3,
slidesToScroll: 1,

View File

@ -12,6 +12,7 @@
font-size: 1.7rem;
font-family: 'gilroy-semibold';
padding-left: 0.5rem;
line-height: 1.5rem;
}
button{