home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / editor / EdInsertTable.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-08-06  |  3.8 KB  |  87 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Netscape Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/NPL/
  8.    -  
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.    -  
  14.    - The Original Code is Mozilla Communicator client code, released
  15.    - March 31, 1998.
  16.    - 
  17.    - The Initial Developer of the Original Code is Netscape
  18.    - Communications Corporation. Portions created by Netscape are
  19.    - Copyright (C) 1998-2000 Netscape Communications Corporation. All
  20.    - Rights Reserved.
  21.    - 
  22.    - Contributor(s): 
  23.   -->
  24.  
  25. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  26. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  27.  
  28. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?> 
  29. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
  30. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  31. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?> 
  32.  
  33. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorInsertTable.dtd">
  34.  
  35. <window class="dialog" title="&windowTitle.label;"
  36.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  37.     xmlns:html="http://www.w3.org/1999/xhtml"
  38.     onload = "Startup()"
  39.     persist="screenX screenY"
  40.     orient="vertical">
  41.  
  42.   <!-- Methods common to all editor dialogs -->
  43.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  44.   <script type="application/x-javascript" src="chrome://editor/content/EdInsertTable.js"/>
  45.   <script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
  46.  
  47.   <spring id="location" offsetY="50" persist="offsetX offsetY"/>
  48.   <broadcaster id="args" value=""/>
  49.   <keyset id="dialogKeys"/>
  50.   <popupset id="aTooltipSet" />
  51.   <groupbox orient="vertical"><label value="&size.label;"/>
  52.     <grid>
  53.       <columns><column/><column/><column/></columns>
  54.       <rows>
  55.         <row valign="middle" text-align="right" autostretch="never">
  56.           <text class="label align-right" text-align="right" value="&numRowsEditField.label;" />
  57.           <textbox class="narrow" id="rowsInput" oninput="ChangeRowOrColumn(this.id)" />
  58.           <spring/>
  59.         </row>
  60.         <row valign="middle" text-align="right" autostretch="never">
  61.           <text class="label align-right" value="&numColumnsEditField.label;" />
  62.           <textbox class="narrow" id="columnsInput" oninput="ChangeRowOrColumn(this.id)" />
  63.           <spring/>
  64.         </row>
  65.         <row valign="middle" text-align="right" autostretch="never">
  66.           <text class="label align-right" value="&widthEditField.label;" />
  67.           <textbox class="narrow" id="widthInput" oninput="forceInteger(this.id)" />
  68.           <menulist id="widthPixelOrPercentMenulist"><menupopup/></menulist>
  69.             <!-- child elements are appended by JS -->
  70.         </row>
  71.       </rows>
  72.     </grid>
  73.     <spring class="spacer"/>
  74.   </groupbox>
  75.   <spring class="spacer"/>
  76.   <hbox valign="middle" autostretch="never">
  77.     <text class="label align-right" text-align="right" value="&borderEditField.label;"
  78.         tooltip="aTooltip" tooltiptext="&borderEditField.tooltip;" />
  79.     <textbox class="narrow" id="borderInput" oninput="forceInteger(this.id)" />
  80.     <text class="label" value="&pixels.label;"/>  
  81.   </hbox>
  82.   <!-- from EdDialogOverlay -->
  83.   <vbox id="AdvancedEdit"/>
  84.   <!-- from global dialogOverlay -->
  85.   <hbox id="okCancelButtons"/> 
  86. </window>
  87.