Website/assets/custom.js
Martin Gasque 0ba3f3c7c5 Initial commit
Will it deploy one day ?
2024-02-20 08:59:37 +01:00

18 lines
556 B
JavaScript

// Add custom JS
// Trouble with className not found
// So i'm going to comment that until a solution is find
// const slider_left = document.getElementsByClassName("slider_left")[0];
// const slider_right = document.getElementsByClassName("slider_right")[0];
// const carousel = document.getElementsByClassName("carousel")[0];
// slider_left.addEventListener("click", function (e) {
// console.log(e.target);
// carousel.style.overflow = "-200px";
// });
// slider_right.addEventListener("click", function (e) {
// console.log(e.target);
// });