SHOW:
|
|
- or go back to the newest paste.
1 | id_anterior = ""; | |
2 | ||
3 | function exibirDiv(id){ | |
4 | ||
5 | - | if(id_anterior != "") document.getElementById(this.id_anterior).style.visibility = 'hidden'; |
5 | + | if(this.id_anterior != "") document.getElementById(this.id_anterior).style.visibility = 'hidden'; |
6 | document.getElementById(id).style.visibility = 'visible'; | |
7 | this.id_anterior = id; | |
8 | ||
9 | ||
10 | } |