Projet

Général

Profil

Paste
Télécharger (980 octets) Statistiques
| Branche: | Révision:

root / js / hide_n_showForm.js @ 7f9aab46

1
function showForm() { 
2
  
3
    var displayAddParams = document.getElementById('addParams');
4
    var displayAdding = document.getElementById ('adding');
5
    displayAddParams.style.visibility = 'hidden';
6
    displayAdding.style.visibility = 'visible'; 
7
} 
8
  
9
function hideForm() { 
10
      
11
    var displayAddParams = document.getElementById('addParams');
12
    var displayAdding = document.getElementById ('adding');
13
    displayAddParams.style.visibility = 'visible';
14
    displayAdding.style.visibility = 'hidden';
15
} 
16
  
17
function showLoca() { 
18
      
19
    var displayloca = document.getElementById('loca');
20
    var putDraw = document.getElementById ('locadraw');
21
    displayloca.style.visibility = 'hidden';
22
    putDraw.style.visibility = 'visible'; 
23
} 
24
  
25
function hideLoca() { 
26
      
27
    var displayloca = document.getElementById('loca');
28
    var putDraw = document.getElementById ('locadraw');
29
    displayloca.style.visibility = 'visible';
30
    putDraw.style.visibility = 'hidden';
31
}