diff options
| author | Debulois <quentin@debulois.fr> | 2022-04-04 22:58:43 +0200 |
|---|---|---|
| committer | Debulois <quentin@debulois.fr> | 2022-04-04 22:58:43 +0200 |
| commit | 5582d242d03692a7e1b2c631e1b4ff3f52e8b72c (patch) | |
| tree | c1e0242053a46d7b4145111a78a3e86e3cfd2f0d /Statics/Js/main.js | |
| parent | b637d625216e50602d0bde8a544c281ca00af5fa (diff) | |
Révision complète du css et modification du js principalement
Diffstat (limited to 'Statics/Js/main.js')
| -rw-r--r-- | Statics/Js/main.js | 23 |
1 files changed, 0 insertions, 23 deletions
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 |
