Red de conocimientos turísticos - Información de alquiler - Acerca de agregar jscript a vs2005

Acerca de agregar jscript a vs2005

lt;htmlgt;

lt;headgt;

lt;meta DateName = new Array("Día", "Uno", "Dos", "Tres", "Cuatro", "Cinco", "Seis");

for (var i = 0; i lt; 7; i) {

tbCell=trRow.cssText="cursor: default; border : 1 sólido #99CCCC; color de fondo: #99CCCC; ";

}

/************ Cuerpo del calendario ***** * *********/

trRow = tbBoard.insertRow(3

tbCell = trRow.insertCell(0); tbCell .colSpan=7;

tbCell.height=97

tbCell.vAlign="arriba"

tbCell.bgColor="#F0F0F0";

var tbBody=document.createElement("table");

tbCell.prevHours = calendar.insertTbCell(trRow, 0, "-", "center"); >

calendar.prevHours.title="Atajo de ajuste de hora: Inicio";

calendar.prevHours.onmousedown=function(){

calendar.currentDate[3]--

if(calendar.currentDate[3]==-1) calendar.currentDate[3]=23;

calendar.bottom.innerText=calendar.formatTime(calendar.currentDate) [ 3]) ":" calendario.formatTime(calendar.currentDate[4]);

}

tbCell=trRow.insertCell(1); calendario .nextHours = calendar.insertTbCell(trRow, 1, " ", "center");

calendar.nextHours.title="Atajo de ajuste de horas: Fin";

calendar.bottom.innerText=calendar.formatTime(calendar.currentDate[3]) ":align="center";

tbCell.style.cssText = "cursor:default"

calendario.bottom=tbCell;

tbCell=trRow.insertCell;

(3);

calendario.prevMinutes = calendario.insertTbCell(trRow.insertCell(3))