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 >
Wrap
Extensible Markup Language
|
2000-08-09
|
3KB
|
68 lines
<?xml version="1.0" encoding="UTF-8" ?>
<!-- DON'T localize: strres test cases -->
<!DOCTYPE window>
<!-- padding 0px is just a workaround for windows not displaying paddings correctly
take it out once this works! -->
<window style=" padding: 0px; width: 100%; height: 100%"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="Open File or Location"
onload="onLoad()"
class="dialog">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<!--html:script language="javascript" src="resource:/res/strres-test.js" charset="Shift_JIS" / -->
<html:script language="javascript" src="resource:/res/strres-test.js" />
<box align="horizontal" flex="100%" style="width:30em;">
<html:div style="width: 45px; margin: 5px;">
<html:img src="chrome://navigator/skin/questionl.gif" width="32" height="32" border="0"/>
</html:div>
<box align="vertical" flex="100%" style="height: 100%;">
<html:div style="width: 100%;">Enter the World Wide Web location (URL) you would like to open or
</html:div>
<html:div style="width: 100%; margin-bottom: 0.5em;">use the Choose File... button to select a local file:
</html:div>
<box align="horizontal">
<html:input id="dialog.input" flex="100%" onkeyup="onTyping(event.keyCode)"/>
<titledbutton onclick="choose()" value="Choose File..." align="left"/>
</box>
<box align="horizontal" style="margin-bottom: 1em;">
<html:input type="checkbox" id="dialog.newWindow"/>
<html:label for="dialog.newWindow">Open in new window</html:label>
<spring flex="100%"/>
</box>
<box align="horizontal" style="margin-bottom: 1em;">
<spring flex="100%"/>
<html:label id = "labelPrompt">Strres Test: </html:label>
<html:label id = "testLabel">to be set!!</html:label>
<spring flex="100%"/>
</box>
<spring flex="100%"/>
<box align="horizontal">
<spring flex="100%"/>
<titledbutton id="dialog.ok" value="ok" onclick="open()" align="left"/>
<titledbutton id="dialog.test" value="test" onclick="strresTest()" align="left"/>
<titledbutton id="dialog.cancel" value="cancel: 戻る" onclick="cancel()" align="left"/>
<spring flex="100%"/>
</box>
</box>
</box>
</window>