Annotation of books/www/articles/browser.xul.txt, revision 1.2

1.1       brian       1: <?xml version="1.0"?>
                      2: 
                      3: <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
                      4: <?xml-stylesheet href="chrome://navigator/skin" type="text/css"?>
                      5: 
                      6: <window id="browserwin" title="Simple Browser Widget Display"
                      7:     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
                      8:     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                      9:     width="640"
                     10:     height="480"
                     11:     onload="initBrowser()">
                     12: 
1.2     ! brian      13: <script type="application/x-javascript" src="chrome://jslib/content/browser.js"/>
1.1       brian      14: 
                     15: <broadcasterset id="browserBroadcasters">
                     16:     <broadcaster id="canGoBack"    disabled="true"/>
                     17:     <broadcaster id="canGoForward" disabled="true"/>
                     18: </broadcasterset>
                     19: 
                     20: <toolbar class="toolbar-primary chromeclass-toolbar" id="navigation-bar" persist="collapsed" 
                     21:               tbalign="stretch">
                     22: 
                     23:     <toolbarbutton id="back-button" class="toolbarbutton-1"
1.2     ! brian      24:                     tooltiptext="Go Back"
1.1       brian      25:                     oncommand="goBack();"
                     26:                     observes="canGoBack">
                     27:     </toolbarbutton>
                     28:              
                     29:     <toolbarbutton id="forward-button" class="toolbarbutton-1"
1.2     ! brian      30:                     tooltiptext="Go Forward"
1.1       brian      31:                     oncommand="goForward();"
                     32:                     observes="canGoForward">
                     33:     </toolbarbutton>
                     34: 
                     35: </toolbar>
                     36: 
                     37: <browser id="browser-content" type="content-primary" 
                     38:             src="about:blank" flex="1" />
                     39: 
                     40: </window>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>