Ticket #908: merge_cells.html

File merge_cells.html, 1.4 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 align="right"> Columns to merge:</td>
43  <td><input type="text" name="cols" value="2" id="f_cols" size="18" title="Columns" /></td>
44</tr>
45<tr>
46  <td align="right">Rows to merge:</td>
47  <td><input type="text" name="rows" value="2" id="f_rows" size="18" title="Rows" /></td>
48</tr>
49<tr>
50  <td colspan="2" align="right">
51    <hr />
52    <button type="button" name="ok" onclick="return onOK();">OK</button>
53    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
54  </td>
55</tr>
56</table>
57</form>
58
59</body>
60</html>