home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / openLocation.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  3KB  |  88 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-1999 Netscape Communications Corporation. All
  20.   Rights Reserved.
  21.   
  22.   Contributor(s): 
  23.     Ben Goodger <ben@netscape.com>
  24.     Michael Lowe <michael.lowe@bigfoot.com> 
  25.  
  26. -->
  27.  
  28. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  29.  
  30. <!DOCTYPE dialog [
  31.   <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  32.   %brandDTD;
  33.   <!ENTITY % openDialogDTD SYSTEM "chrome://communicator/locale/openLocation.dtd" >
  34.   %openDialogDTD;
  35. ]>            
  36.  
  37. <dialog id="openLocation"
  38.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  39.         title="&caption.label;"
  40.         onload="onLoad()"
  41.         ondialogaccept="open()"
  42.         style="width: 40em;"
  43.         persist="screenX screenY"
  44.         screenX="24" screenY="24">
  45.               
  46.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>  
  47.   <script type="application/x-javascript" src="chrome://communicator/content/openLocation.js"/>
  48.   <script type="application/x-javascript" src="chrome://communicator/content/utilityOverlay.js"/>
  49.   <script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
  50.   
  51.   <stringbundle id="openLocationBundle" src="chrome://communicator/locale/openLocation.properties"/>
  52.  
  53.   <hbox>
  54.     <separator orient="vertical" class="thin"/>
  55.     <vbox flex="1">
  56.       <description>&enter.label;</description>
  57.       <separator class="thin"/>
  58.  
  59.       <hbox align="center">
  60.         <textbox id="dialog.input" flex="1" type="autocomplete"
  61.                   searchSessions="history" timeout="50" maxrows="6"
  62.                   disablehistory="false" class="uri-element"
  63.                   oninput="doEnabling();">
  64.           <menupopup id="ubhist-popup" class="autocomplete-history-popup"
  65.                      popupalign="topleft" popupanchor="bottomleft"
  66.                      onpopupshowing="createUBHistoryMenu(event.target);"
  67.                      oncommand="useUBHistoryItem(event.target)"/>
  68.         </textbox>
  69.         <button label="&chooseFile.label;" oncommand="onChooseFile();"/>
  70.       </hbox>
  71.       <hbox align="center">
  72.         <label value="&openWhere.label;"/>
  73.         <menulist id="openAppList">
  74.           <menupopup>
  75.             <menuitem value="0" id="currentWindow" label="&topWindow.label;"/>
  76.             <menuitem value="1" label="&newWindow.label;"/>
  77.             <menuitem value="3" label="&newTab.label;"/>
  78.             <menuseparator/>
  79.             <menuitem value="2" id="editWindow" label="&editNewWindow.label;"/>
  80.           </menupopup>
  81.         </menulist>
  82.         <spacer flex="1"/>
  83.       </hbox>
  84.     </vbox>
  85.   </hbox> 
  86.            
  87.  </dialog>
  88.