Projet

Général

Profil

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

root / js / hide_n_showForm.js @ e2b1b9c1

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