source: branches/ray/plugins/TableOperations/popups/merge_cells.html @ 862

Last change on this file since 862 was 862, checked in by ray, 12 years ago

update branch with changes from trunk

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