Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/10/2006, 14:31
clinisbut
 
Fecha de Ingreso: diciembre-2004
Mensajes: 278
Antigüedad: 20 años, 3 meses
Puntos: 0
Pos entonces prueba asi a ver, aunqe faltan muchas lineas para poder asegurar nada:

// if this is a Saturday, start a new row
if (thisDay.getDay() == 1)
html += xTR + TR;

// increment the day
thisDay.setDate(thisDay.getDate() + 1);
} while (thisDay.getDate() > 1)

// fill in any trailing blanks
if (thisDay.getDay() > 0) {
for (i = 1; i < thisDay.getDay(); i++)
html += TD + "&nbsp;" + xTD;
}