home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 December / PCWorld_2005-12_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / browser.jar / content / browser / openLocation.xul < prev    next >
Extensible Markup Language  |  2005-09-26  |  2KB  |  52 lines

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