1999-07-05 03:01:10 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-08-25 18:35:59 +04:00
|
|
|
|
|
|
|
<!--
|
|
|
|
- The contents of this file are subject to the Netscape Public
|
|
|
|
- License Version 1.1 (the "License"); you may not use this file
|
|
|
|
- except in compliance with the License. You may obtain a copy of
|
|
|
|
- the License at http://www.mozilla.org/NPL/
|
|
|
|
-
|
|
|
|
- Software distributed under the License is distributed on an "AS
|
|
|
|
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
- implied. See the License for the specific language governing
|
|
|
|
- rights and limitations under the License.
|
|
|
|
-
|
|
|
|
- The Original Code is Mozilla Communicator client code, released
|
|
|
|
- March 31, 1998.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is Netscape
|
|
|
|
- Communications Corporation. Portions created by Netscape are
|
|
|
|
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
- Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
|
|
|
-->
|
|
|
|
|
1999-12-05 12:43:20 +03:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
|
1999-07-21 23:56:21 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
1999-08-25 18:35:59 +04:00
|
|
|
|
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
1999-08-28 06:40:18 +04:00
|
|
|
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
|
1999-08-25 18:35:59 +04:00
|
|
|
|
1999-08-06 23:50:26 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorInsertTable.dtd">
|
1999-07-14 21:37:08 +04:00
|
|
|
|
|
|
|
<xul:window class="dialog" title="&windowTitle.label;"
|
1999-07-05 03:01:10 +04:00
|
|
|
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
xmlns="http://www.w3.org/TR/REC-html40"
|
|
|
|
onload = "Startup()"
|
1999-07-08 07:21:01 +04:00
|
|
|
align="vertical">
|
1999-07-05 03:01:10 +04:00
|
|
|
|
|
|
|
<!-- Methods common to all editor dialogs -->
|
1999-10-14 04:13:27 +04:00
|
|
|
<script language="JavaScript" src="chrome://editor/content/EdDialogCommon.js"/>
|
|
|
|
<script language="JavaScript" src="chrome://editor/content/EdInsertTable.js"/>
|
|
|
|
<script language="JavaScript" src="chrome://global/content/dialogOverlay.js"/>
|
1999-07-05 03:01:10 +04:00
|
|
|
|
|
|
|
<xul:broadcaster id="args" value=""/>
|
1999-09-22 05:39:18 +04:00
|
|
|
<xul:keyset id="keyset"/>
|
1999-09-21 09:20:56 +04:00
|
|
|
|
2000-02-14 08:30:05 +03:00
|
|
|
<!-- preferred width and height added to increase performance in boxes (otherwise buttons will jump!!) -evaughan -->
|
|
|
|
<div style="width: 50px; height: 50px">
|
|
|
|
<table>
|
1999-11-03 03:48:26 +03:00
|
|
|
<tr>
|
1999-07-05 03:01:10 +04:00
|
|
|
<td align="right">
|
1999-07-14 21:37:08 +04:00
|
|
|
<label for="rows"> &numRowsEditField.label; </label>
|
1999-07-05 03:01:10 +04:00
|
|
|
</td>
|
1999-10-14 04:13:27 +04:00
|
|
|
<td collspan="2">
|
1999-07-16 13:10:35 +04:00
|
|
|
<input type="text" id="rows" maxlength="4" size="4"
|
1999-09-24 04:25:01 +04:00
|
|
|
onkeyup="forceInteger('rows')" />
|
1999-07-05 03:01:10 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
1999-11-03 03:48:26 +03:00
|
|
|
<tr>
|
1999-07-05 03:01:10 +04:00
|
|
|
<td align="right">
|
1999-07-14 21:37:08 +04:00
|
|
|
<label for="columns"> &numColumnsEditField.label; </label>
|
1999-07-05 03:01:10 +04:00
|
|
|
</td>
|
1999-10-14 04:13:27 +04:00
|
|
|
<td collspan="2">
|
1999-07-16 13:10:35 +04:00
|
|
|
<input type="text" id="columns" maxlength="4" size="4"
|
1999-09-24 04:25:01 +04:00
|
|
|
onkeyup="forceInteger('columns')" />
|
1999-07-05 03:01:10 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
1999-11-03 03:48:26 +03:00
|
|
|
<tr>
|
1999-10-14 04:13:27 +04:00
|
|
|
<td align="right">
|
1999-07-14 21:37:08 +04:00
|
|
|
<label for="width" > &widthEditField.label; </label>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
<td>
|
1999-07-16 13:10:35 +04:00
|
|
|
<input type="text" id="width" size="4" maxlength="4"
|
1999-09-24 04:25:01 +04:00
|
|
|
onkeyup="forceInteger('width')" />
|
1999-10-14 04:13:27 +04:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<select id="pixelOrPercentSelect" size="1"/>
|
|
|
|
<!-- option elements are appended by JS -->
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
1999-11-03 03:48:26 +03:00
|
|
|
<tr>
|
1999-07-14 19:24:33 +04:00
|
|
|
<td align="right">
|
1999-07-14 21:37:08 +04:00
|
|
|
<label for="border"> &borderEditField.label; </label>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
<td>
|
1999-10-27 03:13:00 +04:00
|
|
|
<input type="text" id="borderInput" size="4" onkeyup="forceInteger('borderInput')"/>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
1999-10-14 04:13:27 +04:00
|
|
|
<!-- THIS IS DUMB Can't figure out how to put "pixels" after the
|
|
|
|
input box and make them center vertically. Used another TD instead -->
|
1999-07-14 19:24:33 +04:00
|
|
|
<td>
|
1999-10-14 04:13:27 +04:00
|
|
|
<div>&pixelsPopup.value;</div>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
1999-07-05 03:01:10 +04:00
|
|
|
</table>
|
2000-02-14 08:30:05 +03:00
|
|
|
</div>
|
1999-08-28 06:40:18 +04:00
|
|
|
<xul:spring class="spacer"/>
|
|
|
|
<!-- from EdDialogOverlay -->
|
1999-11-13 19:37:58 +03:00
|
|
|
<xul:box id="AdvancedEdit"/>
|
1999-08-28 06:40:18 +04:00
|
|
|
<!-- from global dialogOverlay -->
|
1999-08-25 18:35:59 +04:00
|
|
|
<xul:box id="okCancelButtons"/>
|
1999-07-14 19:24:33 +04:00
|
|
|
|
|
|
|
<xul:popup id="PixelOrPercentMenu">
|
|
|
|
<xul:menu>
|
1999-08-02 02:37:58 +04:00
|
|
|
<xul:menuitem value="&pixelsPopup.value;" onclick="SetPixelOrPercentByID('pixelOrPercentButton', '')"/>
|
|
|
|
<xul:menuitem value="&percentPopup.value;" onclick="SetPixelOrPercentByID('pixelOrPercentButton', '%')"/>
|
1999-07-14 19:24:33 +04:00
|
|
|
</xul:menu>
|
|
|
|
</xul:popup>
|
|
|
|
|
1999-07-05 03:01:10 +04:00
|
|
|
</xul:window>
|