home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / mail.jar / content / editor / EdImageMapHotSpot.xul < prev    next >
Encoding:
Extensible Markup Language  |  2003-03-17  |  3.4 KB  |  96 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.    - The contents of this file are subject to the Netscape Public
  4.    - License Version 1.1 (the "License"); you may not use this file
  5.    - except in compliance with the License. You may obtain a copy of
  6.    - the License at http://www.mozilla.org/NPL/
  7.    -  
  8.    - Software distributed under the License is distributed on an "AS
  9.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    - implied. See the License for the specific language governing
  11.    - rights and limitations under the License.
  12.    -  
  13.    - The Original Code is Mozilla Communicator client code, released
  14.    - March 31, 1998.
  15.    - 
  16.    - The Initial Developer of the Original Code is Netscape
  17.    - Communications Corporation. Portions created by Netscape are
  18.    - Copyright (C) 1999-2000 Netscape Communications Corporation. All
  19.    - Rights Reserved.
  20.    - 
  21.    - Contributor(s): 
  22.    -   Brian King
  23.    -   Dan Haddix
  24.   -->
  25. <?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
  26.  
  27. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
  28.  
  29. <!DOCTYPE dialog SYSTEM "chrome://editor/locale/EditorImageMapHotSpot.dtd">
  30.  
  31. <dialog title="&windowTitle.label;"
  32.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  33.     onload = "Startup()"
  34.     ondialogaccept="return onAccept();"
  35.     ondialogcancel="return onCancel();">
  36.  
  37.   <!-- Methods common to all editor dialogs -->
  38.   <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  39.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  40.   <script type="application/x-javascript" src="chrome://editor/content/EdImageMapHotSpot.js"/>
  41.  
  42.   <spacer id="location" offsetY="50" persist="offsetX offsetY"/>
  43.   <broadcaster id="args" value=""/>
  44.  
  45.   <groupbox flex="1">
  46.     <caption id="titleInput" label="&link.label;"/>
  47.  
  48.     <grid>
  49.       <columns><column/><column/><column/></columns>
  50.       <rows>
  51.         <row>
  52.           <label control="urlInput" value="&urlFieldset.label;"/>
  53.  
  54.           <textbox id="urlInput" class="MinWidth20em" value="http://"/>
  55.  
  56.           <button id="Browse" oncommand="chooseFile()" label="&browseButton.label;"/>
  57.         </row>
  58.       
  59.         <row>
  60.           <label control="altInput" value="&altFieldset.label;"/>
  61.  
  62.           <textbox class="MinWidth20em" id="altInput"/>
  63.         </row>
  64.       </rows>
  65.     </grid>
  66.   </groupbox>
  67.  
  68.   <groupbox flex="1">
  69.     <caption id="targetLabel" label="&targetFieldset.label;"/>
  70.     <grid>
  71.       <columns><column/><column/><column/></columns>
  72.       <rows>
  73.         <row>
  74.           <label control="targetInput" value="&target.label;"/>
  75.         </row>
  76.         <row>
  77.           <textbox class="MinWidth20em" id="targetInput"/>
  78.  
  79.           <label id="commonLabel" value="&commonFieldset.label;"/>
  80.  
  81.           <menulist id="commonInput" oncommand="changeTarget()">
  82.             <menupopup align="center">
  83.               <menuitem class="middle" value="" label="&none.value;"/>
  84.               <menuitem class="middle" value="_self" label="&same.value;"/>
  85.               <menuitem class="middle" value="_top" label="&whole.value;"/>
  86.               <menuitem class="middle" value="_blank" label="&new.value;"/>
  87.               <menuitem class="middle" value="_parent" label="&parent.value;"/>
  88.             </menupopup>
  89.           </menulist>
  90.  
  91.         </row>
  92.       </rows>
  93.     </grid>
  94.   </groupbox>
  95. </dialog>
  96.