home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / browser.jar / content / browser / openLocation.xul < prev    next >
Extensible Markup Language  |  2002-10-10  |  2KB  |  57 lines

  1. <?xml version="1.0"?> 
  2. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  3.  
  4. <!DOCTYPE dialog [
  5.   <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  6.   %brandDTD;
  7.   <!ENTITY % openDialogDTD SYSTEM "chrome://browser/locale/openLocation.dtd" >
  8.   %openDialogDTD;
  9. ]>            
  10.  
  11. <dialog id="openLocation"
  12.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         title="&caption.label;"
  14.         onload="onLoad()"
  15.         ondialogaccept="open()"
  16.         style="width: 40em;"
  17.         persist="screenX screenY"
  18.         screenX="24" screenY="24">
  19.               
  20.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>  
  21.   <script type="application/x-javascript" src="chrome://browser/content/openLocation.js"/>
  22.   <script type="application/x-javascript" src="chrome://communicator/content/utilityOverlay.js"/>
  23.   
  24.   //XXXBlake Bleh! We collapsed sessionHistoryUI.js into browser.js.
  25.   <script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
  26.   
  27.   <stringbundle id="openLocationBundle" src="chrome://browser/locale/openLocation.properties"/>
  28.  
  29.   <hbox>
  30.     <separator orient="vertical" class="thin"/>
  31.     <vbox flex="1">
  32.       <description>&enter.label;</description>
  33.       <separator class="thin"/>
  34.  
  35.       <hbox align="center">
  36.         <textbox id="dialog.input" flex="1" type="autocomplete"
  37.                   autocompletesearch="history"
  38.                   enablehistory="true"
  39.                   oninput="doEnabling();"/>
  40.         <button label="&chooseFile.label;" oncommand="onChooseFile();"/>
  41.       </hbox>
  42.       <hbox align="center">
  43.         <label value="&openWhere.label;"/>
  44.         <menulist id="openAppList">
  45.           <menupopup>
  46.             <menuitem value="0" id="currentWindow" label="&topWindow.label;"/>
  47.             <menuitem value="1" label="&newWindow.label;"/>
  48.             <menuitem value="3" label="&newTab.label;"/>
  49.           </menupopup>
  50.         </menulist>
  51.         <spacer flex="1"/>
  52.       </hbox>
  53.     </vbox>
  54.   </hbox> 
  55.            
  56.  </dialog>
  57.