summaryrefslogtreecommitdiff
path: root/static/outilspage.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/outilspage.js')
-rw-r--r--static/outilspage.js26
1 files changed, 26 insertions, 0 deletions
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()
23 } 23 }
24 24
25} 25}
26
27// Affichage de la textarea "export"
28function affiche_export()
29{
30 document.getElementById("export").style.display = "block" ;
31
32}
33
34function affiche_cache(id,elemcourant)
35{
36 // affiche et/ou cache l'élément id, tout en changeant le this
37 // en afficher/masquer
38 elem = document.getElementById(id)
39 if(elem.style.display == "block")
40 {
41 elem.style.display = "none";
42 elemcourant.innerHTML = "Afficher" ;
43 }
44 else
45 {
46 elem.style.display = "block" ;
47 elemcourant.innerHTML = "Masquer" ;
48
49 }
50
51}