Bonjour,
j'ai un script qui crée un tableau qui marche très bien sous FF, mais sous IE ça n'affiche rien.
var E = "<table cellpadding='0' cellspacing='0'>";
for(var D = 0; D < K; D ++ )
{
E += "<tr>";
for(var C = 0; C < 7; C ++ )
{
E += "<td";
if(G < I)
{
E += " class='dhx_before' "
}
else
{
if(G >= F)
{
E += " class='dhx_after' "
}
else
{
if(G.valueOf() == A.valueOf())
{
E += " class='dhx_now' "
}
}
}
E += "><div class='dhx_month_head'>" + this.templates.month_day(G) + "</div><div class='dhx_month_body' " + B[C] + "></div></td>";
G = this.date.add(G, 1, "day")
}
E += "</tr>"
}
E += "</table>";
this._max_date = G;
H.innerHTML = E
}
;
Est-ce-que vous auriez une idée?
Merci.
j'ai un script qui crée un tableau qui marche très bien sous FF, mais sous IE ça n'affiche rien.
var E = "<table cellpadding='0' cellspacing='0'>";
for(var D = 0; D < K; D ++ )
{
E += "<tr>";
for(var C = 0; C < 7; C ++ )
{
E += "<td";
if(G < I)
{
E += " class='dhx_before' "
}
else
{
if(G >= F)
{
E += " class='dhx_after' "
}
else
{
if(G.valueOf() == A.valueOf())
{
E += " class='dhx_now' "
}
}
}
E += "><div class='dhx_month_head'>" + this.templates.month_day(G) + "</div><div class='dhx_month_body' " + B[C] + "></div></td>";
G = this.date.add(G, 1, "day")
}
E += "</tr>"
}
E += "</table>";
this._max_date = G;
H.innerHTML = E
}
;
Est-ce-que vous auriez une idée?
Merci.