ciao, mi serve aiuto!!non capisco nulla, quando eseguo lo script mozilla mi dice che mi blocchera' il computer e mi chiede di bloccarlo.codice:function hideTip(obj) { if (document.layers) { if (document.layers[obj] != null) { document.layers[obj].visibility = 'hidden'; } } else if (document.all) { document.all[obj].style.visibility = 'hidden'; } else if (document.getElementById(obj)) { document.getElementById(obj).style.visibility = 'hidden'; } } function switchTip(obj) { var arr = new Array(); var tip; arr[0] = 'bre_adr' arr[1] ='ham_adr'; arr[2] ='ber_adr'; arr[3] ='lei_adr'; arr[4] ='dre_adr'; arr[5] ='nur_adr'; arr[6] ='mun_adr'; arr[7] ='dus_adr'; if (document.layers) { if (document.layers[obj] != null) { el_st = document.layers[obj]; } } else if (document.all) { el_st = document.all[obj].style; } else if (document.getElementById(obj)) { el_st = document.getElementById(obj).style; } for (i=0; i<8; i+1) { tip = arr[i]; hideTip(tip); } el_st.visibility = (el_st.visibility=="visible") ? "hidden" : "visible"; }
vabbe' sono inesperta in javascript..