home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December
/
PCWorld_2005-12_cd.bin
/
komunikace
/
netscape
/
nsb-install-8-0.exe
/
res
/
samples
/
toolbarTest1.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-09-26
|
2KB
|
52 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://navigator/skin/navigator.css" type="text/css"?>
<!DOCTYPE window>
<window orient="vertical" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onConstruction="Startup()">
<html:div>
<html:h1>Toolbar Test 1</html:h1>
<html:h3>
You should see a two toolbars with buttons that don't do anything. This test is useful for checking layout
and look/feel of rollover and clicks. Note that the last toolbar is empty, and should be of
normal size because of min-height.
</html:h3>
<html:hr/>
</html:div>
<toolbox style="min-width: 10px">
<toolbar>
<button id="back-button" align="top" value="Back"/>
<button id="forward-button" align="top" value="Forward"/>
<button id="reload-button" align="top" value="Reload"/>
<button id="stop-button" align="top" value="Stop"/>
<button id="home-button" align="top" value="Home"/>
<button id="print-button" align="top" value="Print"/>
<vbox flex="100%">
<spacer flex="100%"/>
<html:input id="urlbar" type="text"/>
<spacer flex="100%"/>
</vbox>
<button src="resource:/res/throbber/anims00.gif" align="right"/>
</toolbar>
<toolbar>
<button align="left" id="translate-button" value="Mozilla" />
<button align="left" id="translate-button" value="ABC News"/>
<spacer flex="100%"/>
</toolbar>
<toolbar>
</toolbar>
</toolbox>
</window>