From 5582d242d03692a7e1b2c631e1b4ff3f52e8b72c Mon Sep 17 00:00:00 2001 From: Debulois Date: Mon, 4 Apr 2022 22:58:43 +0200 Subject: Révision complète du css et modification du js principalement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Statics/Js/main.js | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 Statics/Js/main.js (limited to 'Statics/Js/main.js') diff --git a/Statics/Js/main.js b/Statics/Js/main.js deleted file mode 100644 index 6fe6dec..0000000 --- a/Statics/Js/main.js +++ /dev/null @@ -1,23 +0,0 @@ -// **************************************************************************** -// Main -// **************************************************************************** - -// Site web utilisés pour JS: -// https://www.w3schools.com/js/default.asp -// https://stackoverflow.com/ - -// Changement de langue -document.getElementById("navSelLang").addEventListener("change", () => { - document.getElementById("navFormLang").submit(); -}); - -// TODO: A commenter -function show(parentId, element, id, className) { - let elements = document.getElementById(parentId).getElementsByTagName(element); - elements[id].classList.add(className); - for (i = 0; i < elements.length; i++) { - if (elements[i].id !== id) { - elements[i].classList.remove(className); - } - } -} \ No newline at end of file -- cgit v1.2.3