Ajout de la page de contact

This commit is contained in:
2023-01-17 22:21:28 +01:00
parent 3c9943bd47
commit c15793f395
3 changed files with 178 additions and 1 deletions

7
assets/js/contact.js Normal file
View File

@@ -0,0 +1,7 @@
textarea = document.getElementById('message');
textarea.setAttribute('style', 'height:' + (textarea.scrollHeight) + 'px;overflow-y:hidden;');
textarea.addEventListener("input", function () {
this.style.height = 'auto';
this.style.height = (this.scrollHeight) + 'px';
});