Make your own free website on Tripod.com
---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 opts = 'width=350,height=350,scrollbars=yes,directories=no,status=yes,location=no,toolbar=no'; var ltag = '<' var gtag = '>' var sourcewin = window.open('','source',opts) 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.alignment.out != '') sourcewin.document.writeln(myTable.alignment.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) 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 ('

Highlight the code above and Copy and Paste it to your page.') sourcewin.document.write('

') sourcewin.document.write('
') sourcewin.document.close() } // End -->