home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 December / PCWorld_2000-12_cd.bin / Komunikace / mozilla / mozilla-win32-M18-mathml-svg-xslt.exe / res / strres-test.xul < prev    next >
Extensible Markup Language  |  2000-08-09  |  3KB  |  68 lines

  1. <?xml version="1.0" encoding="UTF-8" ?> 
  2. <!-- DON'T localize: strres test cases -->
  3.  
  4.  
  5. <!DOCTYPE window> 
  6.     <!-- padding 0px is just a workaround for windows not displaying paddings correctly
  7.             take it out once this works! -->
  8.  
  9. <window style=" padding: 0px; width: 100%; height: 100%" 
  10.         xmlns:html="http://www.w3.org/1999/xhtml"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         title="Open File or Location"
  13.         onload="onLoad()"
  14.         class="dialog"> 
  15.               
  16.     <html:script language="javascript" src="chrome://global/content/strres.js" />
  17.  
  18.     <!--html:script language="javascript" src="resource:/res/strres-test.js" charset="Shift_JIS" / -->
  19.     <html:script language="javascript" src="resource:/res/strres-test.js" />
  20.                    
  21.     <box align="horizontal" flex="100%" style="width:30em;">
  22.                       
  23.         <html:div style="width: 45px; margin: 5px;">
  24.             <html:img src="chrome://navigator/skin/questionl.gif" width="32" height="32" border="0"/>
  25.         </html:div>
  26.  
  27.         <box align="vertical" flex="100%" style="height: 100%;">
  28.                   
  29.             <html:div style="width: 100%;">Enter the World Wide Web location (URL) you would like to open or 
  30.             </html:div>
  31.             <html:div style="width: 100%; margin-bottom: 0.5em;">use the Choose File... button to select a local file:
  32.             </html:div>
  33.            
  34.             <box align="horizontal">
  35.                 <html:input id="dialog.input" flex="100%" onkeyup="onTyping(event.keyCode)"/>
  36.                 <titledbutton onclick="choose()" value="Choose File..." align="left"/>
  37.                 </box>
  38.                               
  39.             <box align="horizontal" style="margin-bottom: 1em;">
  40.                 <html:input type="checkbox" id="dialog.newWindow"/>
  41.                 <html:label for="dialog.newWindow">Open in new window</html:label>
  42.                 <spring flex="100%"/> 
  43.             </box>
  44.             <box align="horizontal" style="margin-bottom: 1em;">
  45.                 <spring flex="100%"/>
  46.                 <html:label id = "labelPrompt">Strres Test: </html:label>
  47.                 <html:label id = "testLabel">to be set!!</html:label>
  48.                       
  49.                  <spring flex="100%"/>
  50.             </box>
  51.  
  52.                <spring flex="100%"/>
  53.                    
  54.             <box align="horizontal">
  55.                 <spring flex="100%"/>
  56.                 <titledbutton id="dialog.ok" value="ok" onclick="open()" align="left"/>
  57.                 <titledbutton id="dialog.test" value="test" onclick="strresTest()" align="left"/>
  58.                 <titledbutton id="dialog.cancel" value="cancel: µê╗πéï" onclick="cancel()" align="left"/>
  59.                 <spring flex="100%"/>
  60.             </box>
  61.                      
  62.         </box>
  63.                     
  64.     </box>
  65.  
  66.          
  67.  </window>
  68.