Moi-moi_69
Nouveau membre
Bonjour, J ai un script pour un menu dynamique qui fonctionne bien sous Mozilla firefox et internet explorer mais dans ce dernier, j ai un message d'erreur : Message : 'length' a la valeur Null ou n'est pas un objet. Je vous laisse le passage du script en question : function pop(msg,pos) { skn.visibility = "hidden"; a=true skn.top = pos; var content ="
CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=90><TR><TD>
WIDTH=100% BORDER=1 CELLPADDING=5 CELLSPACING=0>"; pass = 0 while (pass < msg.length) { content = "<TR><TD BGCOLOR=" bgcolor2 " onMouseOver=\"this.style.background='" bgcolor21 "'\" onMouseOut=\"this.style.background='" bgcolor2 "'\" HEIGHT=15>SIZE=2 FACE=\"Arial\">&nbsp;&nbsp;" msg[pass] "TD>TR>"; pass ; } content = "TD>TR>"; document.getElementById("topdeck").innerHTML = content; skn.visibility = "visible"; Merci d'avance
CELLPADDING=0 CELLSPACING=0 BGCOLOR=#000000 WIDTH=90><TR><TD>
WIDTH=100% BORDER=1 CELLPADDING=5 CELLSPACING=0>"; pass = 0 while (pass < msg.length) { content = "<TR><TD BGCOLOR=" bgcolor2 " onMouseOver=\"this.style.background='" bgcolor21 "'\" onMouseOut=\"this.style.background='" bgcolor2 "'\" HEIGHT=15>SIZE=2 FACE=\"Arial\">&nbsp;&nbsp;" msg[pass] "TD>TR>"; pass ; } content = "TD>TR>"; document.getElementById("topdeck").innerHTML = content; skn.visibility = "visible"; Merci d'avance