SHARE
TWEET

DIV

a guest Jan 4th, 2013 28 Never
  1. id_anterior = "";
  2.  
  3. function exibirDiv(id){
  4.  
  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. }
RAW Paste Data
Top