Ticket #908: merge_cells.3.html

File merge_cells.3.html, 1.5 KB (added by wymsy, 13 years ago)

popups/merge_cells.html

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html style="width: 400px; height: 150px;">
3
4<head>
5  <title>Merge Cells</title>
6
7<link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
8<script type="text/javascript" src="../../../popups/popup.js"></script>
9
10<script type="text/javascript">
11function Init() {
12  window.resizeTo(400,170);
13        __dlg_init();
14        document.getElementById("f_cols").focus();
15}
16
17function onOK() {
18  var param = new Object();
19  param["f_cols"] = document.getElementById("f_cols").value;
20  param["f_rows"] = document.getElementById("f_rows").value;
21  __dlg_close(param);
22  return false;
23}
24
25function onCancel() {
26  __dlg_close(null);
27  return false;
28}
29</script>
30
31</head>
32
33<body onload="Init()">
34<form action="" method="get">
35<table width="100%">
36<tr>
37  <td colspan="2">
38        <div class="title">Merge Cells</div>
39  </td>
40</tr>
41<tr>
42  <td colspan="2">
43        Merge current cell with:
44  </td>
45</tr>
46<tr>
47  <td align="right" width="30%"><input type="text" name="cols" value="0" id="f_cols" size="4" title="Columns" /></td>
48  <td width="70%">Cells to the right, and</td>
49</tr>
50<tr>
51  <td align="right"><input type="text" name="rows" value="0" id="f_rows" size="4" title="Rows" /></td>
52  <td>Cells down</td>
53</tr>
54<tr>
55  <td colspan="2" align="right">
56    <hr />
57    <button type="button" name="ok" onclick="return onOK();">OK</button>
58    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
59  </td>
60</tr>
61</table>
62</form>
63
64</body>
65</html>