Ajout drapeaux isIE7max.
[Epoz.git] / epoz / epoz_core / epoz_script_table.html.dtml
1 <html>
2 <head>
3
4 <title>Epoz</title>
5
6 <style type="text/css">
7 <!--
8 * {font-family: Arial, Helvetica, Sans-Serif; font-size: 12px;}
9 //-->
10 </style>
11
12 <script type="text/javascript">
13
14 function SubmitForm() {
15 rows = document.getElementById('rows').value;
16 cols = document.getElementById('cols').value;
17 border = document.getElementById('border').value;
18 head = document.getElementById('head').value;
19 window.opener.CreateTable(rows, cols, border, head);
20 window.close();
21 };
22
23 </script>
24 </head>
25
26 <body onload="this.focus();">
27
28 <form>
29 <table border="0" cellspacing="4" cellpadding="4">
30 <tbody>
31
32 <tr>
33 <td><script type="text/javascript">document.writeln(opener.EpozLang["EnterTableRows"]);</script></td>
34 <td><input type="text" name="rows" id="rows" size="5" value="3" /></td>
35 </tr>
36
37 <tr>
38 <td><script type="text/javascript">document.writeln(opener.EpozLang["EnterTableColumns"]);</script></td>
39 <td><input type="text" name="cols" id="cols" size="5" value="3" /></td>
40 </tr>
41
42 <tr>
43 <td><script type="text/javascript">document.writeln(opener.EpozLang["EnterTableBorder"]);</script></td>
44 <td><input type="text" name="border" id="border" size="5" value="1" /></td>
45 </tr>
46
47 <tr>
48 <td colspan="2">
49 <select id="head" name="head">
50 <option value="0"><script type="text/javascript">document.writeln(opener.EpozLang["TableWithoutHead"]);</script></option>
51 <option value="1"><script type="text/javascript">document.writeln(opener.EpozLang["TableWithHead"]);</script></option>
52 </select>
53 </td>
54 </tr>
55
56 <tr>
57 <td colspan="2">
58 <button type="button" onclick="return SubmitForm();"><script type="text/javascript">document.writeln(opener.EpozLang["InsertTable"]);</script></button>
59 </td>
60 </tr>
61
62 </tbody>
63 </table>
64
65 </form>
66 </body>
67 </html>