prego
non passi l'ID alla hide2.codice:function hide(id){ if (document.getElementById) delayhide=setTimeout("hide2()",delay_hide, id) } function hide2(id){ if (document.getElementById) document.getElementById(id).style.display = 'none' }
prova con
ma non sono sicurissimo che funzioni è da un po' che non uso le setTimeout...codice:function hide(id){ if (document.getElementById) delayhide=setTimeout(function () {hide2(id);},delay_hide, id) }