X-Git-Url: https://git.immae.eu/?p=perso%2FDenise%2Foms.git;a=blobdiff_plain;f=static%2Foutilspage.js;h=8da9e88a05ce7f68ae3c0920ea02bc8ffab7033c;hp=de87963c401879276a7f090f5bffdfeb656122b9;hb=be2bf5155489b103e616845ffedb1a58c3808c48;hpb=5679dfd03c9761283e3a36d6d09798aaa334e1e9 diff --git a/static/outilspage.js b/static/outilspage.js index de87963..8da9e88 100644 --- a/static/outilspage.js +++ b/static/outilspage.js @@ -23,3 +23,29 @@ function ajoutelignes() } } + +// Affichage de la textarea "export" +function affiche_export() +{ + document.getElementById("export").style.display = "block" ; + +} + +function affiche_cache(id,elemcourant) +{ + // affiche et/ou cache l'élément id, tout en changeant le this + // en afficher/masquer + elem = document.getElementById(id) + if(elem.style.display == "block") + { + elem.style.display = "none"; + elemcourant.innerHTML = "Afficher" ; + } + else + { + elem.style.display = "block" ; + elemcourant.innerHTML = "Masquer" ; + + } + +}