1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><script>document.write("<title>"+window.opener.lblInsertTable+"</title>");</script>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 body { background: #EFEDDE; margin:10px;}
6 table { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; }
7 legend { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 14px; padding-left: 5px; padding-right: 8px; }
9 <script language="JavaScript" type="text/javascript">
12 window.resizeTo(530, 245);
13 } else if(document.all) {
14 window.resizeTo(530, 235);
16 window.resizeTo(460, 215);
20 var widthType = (document.tableForm.widthType.value == "pixels") ? "" : "%";
21 var html = '<table border="' + document.tableForm.border.value + '" cellpadding="' + document.tableForm.padding.value + '" ';
22 html += 'cellspacing="' + document.tableForm.spacing.value + '" width="' + document.tableForm.width.value + widthType + '">\n';
23 for (var rows = 0; rows < document.tableForm.rows.value; rows++) {
25 for (cols = 0; cols < document.tableForm.columns.value; cols++) {
26 html += "<td> </td>\n";
31 window.opener.insertHTML(html);
32 window.opener.showGuidelines("");
37 </head><body><form name="tableForm"><table cellpadding="0" cellspacing="0" border="0" width=100%><tr>
38 <td><fieldset style="margin-left: 5px;"><legend><script>document.write(window.opener.lblInsertTable);</script></legend>
39 <div style="padding: 2px;"></div>
40 <table cellpadding="0" cellspacing="0" border="0" width=100%><tr>
41 <td align="right"><script>document.write(window.opener.lblTableRows);</script>: </td>
42 <td><input name="rows" type="text" id="rows" value="2" size="4"></td>
43 <td align="left" valign=middle nowrap> <script>document.write(window.opener.lblTableColumns);</script>: <input name="columns" type="text" id="columns" value="2" size="4"></td>
45 <td align="right"><script>document.write(window.opener.lblTableWidth);</script>: </td>
46 <td><input name="width" type="text" id="width" value="100" size="4"></td>
48 <select name="widthType" id="widthType">
49 <option value="percent" selected><script>document.write(window.opener.lblTablePercent);</script></option>
50 <option value="pixels"><script>document.write(window.opener.lblTablePx);</script></option>
51 </select></td></tr><tr>
52 <td align="right" nowrap><script>document.write(window.opener.lblTableBorder);</script>: </td>
53 <td><input name="border" type="text" id="border" value="1" size="4"></td>
54 <td align="left"> <script>document.write(window.opener.lblTablePx);</script></td></tr><tr>
55 <td align="right"><script>document.write(window.opener.lblTablePadding);</script>: </td>
56 <td><input name="padding" type="text" id="padding" value="4" size="4"></td>
57 <td valign=middle nowrap> <script>document.write(window.opener.lblTableSpacing);</script>: <input name="spacing" type="text" id="0" value="0" size="4"></td>
58 </tr></table><div style="padding: 2px;"></div></fieldset></td>
59 <td valign=top style="padding: 8px;">
60 <input type="button" name="btnsubmit" value="" onClick="AddTable();" style="width:100px"/><br>
61 <input type="button" name="btncancel" value="" onClick="window.close();" style="width:100px"/>
62 </td></tr></table></form></body></html>
64 document.tableForm.btnsubmit.value = window.opener.lblLinkSubmit;
65 document.tableForm.btncancel.value = window.opener.lblLinkCancel;