---Your Table---') tabdoc.write('') for (var i=1; i <= table.rows.value; i++) { tabdoc.write('') for (var j = 1; j <= table.cols.value; j++) { tabdoc.write('') } tabdoc.write('') } tabdoc.write('
' +(j*i)+ '
') tabdoc.close() } function showSource() { var ltag = '<' var gtag = '>' var sourcewin = window.open('','source','width=400,height=300,scrollbars=yes,directories=no,status=yes,location=no,toolbar=no') sourcewin= window.open('','source') sourcewin.status="Cut and paste this info into your web page" sourcewin.document.write('') sourcewin.document.writeln(ltag + 'TABLE ') if (myTable.align.out != '') sourcewin.document.writeln(myTable.align.out) sourcewin.document.writeln(myTable.border.out) sourcewin.document.writeln(myTable.cellspacing.out) sourcewin.document.writeln(myTable.cellpadding.out + gtag) for (var i=1; i <= myTable.rows.value; i++) { sourcewin.document.writeln(ltag+ 'TR' +myTable.cvalign.out+ ' ' +myTable.calign.out+ gtag) // if (myTable.cvalign.value != '') { // sourcewin.document.write(myTable.cvalign.out) } // if (myTable.calign.value != '') { // sourcewin.document.write(myTable.calign.out) } // sourcewin.document.writeln(gtag + '') for (var j = 1; j <= myTable.cols.value; j++) { sourcewin.document.writeln(' ' +ltag+ 'TD' +gtag +(j*i)+ ltag+ '/TD' +gtag) } sourcewin.document.writeln(ltag+ '/TR' +gtag) } sourcewin.document.writeln(ltag+ '/TABLE' +gtag) sourcewin.document.write('
') sourcewin.document.write('
') sourcewin.document.write('

') sourcewin.document.write('
') sourcewin.document.close() sourcewin.document.menu.tofocus.focus() } // --> STOP HIDE