Bonjour,
Je cherche à construire un tableau en JS.
Ce n'est pourtant pas le premier mais là... ???
Tout fonctionne correctement sous FireFox et sous Konqueror mais rien n'apparaît sous I.E. :
Mon code JS :
Mon code HTML
Le code CSS :
Modifié par aCOSwt (22 May 2007 - 21:08)
Je cherche à construire un tableau en JS.
Ce n'est pourtant pas le premier mais là... ???
Tout fonctionne correctement sous FireFox et sous Konqueror mais rien n'apparaît sous I.E. :
Mon code JS :
for(j=0;j<Users.length;j++){
newrow=document.createElement("tr");
newcell=document.createElement("td");
newdata=document.createTextNode(Users[j]);
newcell.appendChild(newdata);
newcell.onclick=Select_user;
newcell.id=j;
newrow.appendChild(newcell);
document.getElementById("IDLOCDIV").appendChild(newrow);}
Mon code HTML
<TABLE id="IDLOCDIV" summary="login en cas d'utilisateurs multiples"></TABLE>
Le code CSS :
#IDLOCDIV {
position:absolute;
left:108px;
top:148px;
z-index:5;
border-style:none;}
#IDLOCDIV TD {
background-image : url("../Images/Decorum/AlternateTitleOrangeBall.gif");
background-position :center;
background-repeat : no-repeat;
color : rgb(80, 80, 80);
font-family : sans-serif;
font-size : 8pt;
font-weight : bold;
height : 112px;
margin-left : 3px;
margin-right : 3px;
text-align : center;
width : 112px;}
Modifié par aCOSwt (22 May 2007 - 21:08)