diff -u xultu/advmenu.html /main/xultu/output/xultu/advmenu.html --- xultu/advmenu.html 2004-11-13 12:44:28.000000000 -0500 +++ /main/xultu/output/xultu/advmenu.html 2004-11-13 12:43:01.000000000 -0500 @@ -211,7 +211,7 @@

Of course, the grouped items all have to be within the same menu. They don't have to be placed next to each other in the menu, although it doesn't make as -much sense if they don't. +much sense if they aren't.


diff -u xultu/boxstyle.html /main/xultu/output/xultu/boxstyle.html --- xultu/boxstyle.html 2004-11-13 12:44:40.000000000 -0500 +++ /main/xultu/output/xultu/boxstyle.html 2004-11-13 12:43:01.000000000 -0500 @@ -219,7 +219,8 @@ <button label="3" flex="1" style="min-width: 50px;"/> <button label="4" flex="1" style="min-height: 2ex; max-height: 100px"/> <textbox flex="1" style="max-width: 10em;"/> -<html style="max-width: 50px">This is some boring but simple wrapping text.</html> +<description style="max-width: 50px">This is some boring but simple +wrapping text.</description> diff -u xultu/buttons.html /main/xultu/output/xultu/buttons.html --- xultu/buttons.html 2004-11-13 12:44:41.000000000 -0500 +++ /main/xultu/output/xultu/buttons.html 2004-11-13 12:43:01.000000000 -0500 @@ -178,6 +178,13 @@ ENTER key to activate the Find button.

+
+If you are using Firefox 1.0, note that it doesn't allow you to open chrome +windows from web pages, so the View links in the tutorial will open in normal +browser windows. Due to this, the buttons will appear to stretch across the +window. You can add align="start" to the window tag to prevent the stretching. +
+

diff -u xultu/cpanels.html /main/xultu/output/xultu/cpanels.html --- xultu/cpanels.html 2004-11-13 12:44:43.000000000 -0500 +++ /main/xultu/output/xultu/cpanels.html 2004-11-13 12:43:01.000000000 -0500 @@ -51,7 +51,13 @@

-A better approach is to use the iframe +Note that XUL does have a wizard element which +may be used to create wizard interfaces. This will be described in a later +section. +

+ +

+Another approach is to use the iframe element, which works much like the HTML element of the same name. It creates a separate document within the window. It has the advantage that it can be placed anywhere and the contents can be loaded from a different file. Set the Only in /main/xultu/output/xultu/: elemref Only in /main/xultu/output/xultu/: examples Binary files xultu/ex.zip and /main/xultu/output/xultu/ex.zip differ diff -u xultu/filedialog.html /main/xultu/output/xultu/filedialog.html --- xultu/filedialog.html 2004-11-13 12:44:50.000000000 -0500 +++ /main/xultu/output/xultu/filedialog.html 2004-11-13 12:43:01.000000000 -0500 @@ -156,9 +156,9 @@

-var res=fp.show();
-if (res==nsIFilePicker.returnOK){
-  var thefile=fp.file;
+var res = fp.show();
+if (res == nsIFilePicker.returnOK){
+  var thefile = fp.file;
   // --- do something with the file here ---
 }
Only in xultu/: fred.html Only in /main/xultu/output/xultu/: images diff -u xultu/index.html /main/xultu/output/xultu/index.html --- xultu/index.html 2004-11-13 12:44:52.000000000 -0500 +++ /main/xultu/output/xultu/index.html 2004-11-13 12:43:01.000000000 -0500 @@ -15,7 +15,7 @@

-Last updated on August 16, 2004 +Last updated on November 13, 2004

diff -u xultu/intro.html /main/xultu/output/xultu/intro.html --- xultu/intro.html 2004-11-13 12:44:53.000000000 -0500 +++ /main/xultu/output/xultu/intro.html 2004-11-13 12:43:01.000000000 -0500 @@ -65,7 +65,7 @@

It takes a long time to build an application even for only one platform. The time required to compile and debug can be lengthy. With XUL, an - interface can be implemented and modified quicky and easily. + interface can be implemented and modified quickly and easily.

diff -u xultu/intrordf.html /main/xultu/output/xultu/intrordf.html --- xultu/intrordf.html 2004-11-13 12:44:54.000000000 -0500 +++ /main/xultu/output/xultu/intrordf.html 2004-11-13 12:43:01.000000000 -0500 @@ -75,7 +75,7 @@

<?xml version="1.0"?>
 <RDF:RDF
-  xmlns:RDF="http://www.w3.org//1999/02/22-rdf-syntax-ns#">
+  xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
   ...
 </RDF:RDF>
diff -u xultu/introxbl.html /main/xultu/output/xultu/introxbl.html --- xultu/introxbl.html 2004-11-13 12:44:54.000000000 -0500 +++ /main/xultu/output/xultu/introxbl.html 2004-11-13 12:43:01.000000000 -0500 @@ -151,10 +151,10 @@ CSS (example.css): box.okcancelbuttons { - -moz-binding: url('chrome://example/skin/example.xbl#okcancel'); + -moz-binding: url('chrome://example/skin/example.xml#okcancel'); } -XBL (example.xbl): +XBL (example.xml): <?xml version="1.0"?> <bindings xmlns="http://www.mozilla.org/xbl" Only in xultu/: nyimp.html diff -u xultu/splitter.html /main/xultu/output/xultu/splitter.html --- xultu/splitter.html 2004-11-13 12:45:02.000000000 -0500 +++ /main/xultu/output/xultu/splitter.html 2004-11-13 12:43:01.000000000 -0500 @@ -129,7 +129,7 @@ Example 4.8.1: Source View -
<box>
+
<vbox flex="1">
   <iframe id="content-1" width="60" height="20" src="w1.html"/>
   <splitter collapse="before" resizeafter="farthest">
     <grippy/>
@@ -137,7 +137,7 @@
   <iframe id="content-2" width="60" height="20" src="w2.html"/>
   <iframe id="content-3" width="60" height="20" src="w3.html"/>
   <iframe id="content-4" width="60" height="20" src="w4.html"/>
-</box>
+</vbox>
Only in /main/xultu/output/xultu/: styles diff -u xultu/tabpanel.html /main/xultu/output/xultu/tabpanel.html --- xultu/tabpanel.html 2004-11-13 12:45:04.000000000 -0500 +++ /main/xultu/output/xultu/tabpanel.html 2004-11-13 12:43:01.000000000 -0500 @@ -50,7 +50,7 @@ The outer box that contains the tabs along the top and the tab pages themselves.
  • tabs
    - The inner box that contains the individual tabs. In order words, this is the row + The inner box that contains the individual tabs. In other words, this is the row of tabs.
  • tab
    diff -u xultu/templates.html /main/xultu/output/xultu/templates.html --- xultu/templates.html 2004-11-13 12:45:05.000000000 -0500 +++ /main/xultu/output/xultu/templates.html 2004-11-13 12:43:01.000000000 -0500 @@ -434,7 +434,7 @@ Put simply, a rule matches if all of the attributes placed on the rule element match the corresponding attributes on the RDF resource. In the case of an RDF file, the resources would be the -Description elements. +Description elements.

    Only in xultu/: test.html diff -u xultu/window.html /main/xultu/output/xultu/window.html --- xultu/window.html 2004-11-13 12:45:09.000000000 -0500 +++ /main/xultu/output/xultu/window.html 2004-11-13 12:43:01.000000000 -0500 @@ -60,9 +60,7 @@

    1. <?xml version="1.0"?>
      - This line simply declares that this is an XML file. Currently only - one version exists (1.0) but if or when a new version is published, - the browser can determine what version to expect. You would normally + This line simply declares that this is an XML file. You would normally add this line as is at the top of each xul file, much like one would put the HTML tag at the top of an HTML file.
    2. diff -u xultu/xblatin.html /main/xultu/output/xultu/xblatin.html --- xultu/xblatin.html 2004-11-13 12:45:10.000000000 -0500 +++ /main/xultu/output/xultu/xblatin.html 2004-11-13 12:43:01.000000000 -0500 @@ -133,7 +133,7 @@ CSS: box.labeledtextbox { - -moz-binding: url('chrome://example/skin/example.xbl#labeledtextbox'); + -moz-binding: url('chrome://example/skin/example.xml#labeledtextbox'); } XBL: @@ -168,7 +168,7 @@ CSS: box.okcancel { - -moz-binding: url('chrome://example/skin/example.xbl#okcancel'); + -moz-binding: url('chrome://example/skin/example.xml#okcancel'); } XBL: diff -u xultu/xblcontent.html /main/xultu/output/xultu/xblcontent.html --- xultu/xblcontent.html 2004-11-13 12:45:11.000000000 -0500 +++ /main/xultu/output/xultu/xblcontent.html 2004-11-13 12:43:01.000000000 -0500 @@ -193,7 +193,7 @@ CSS: menu.dropbox { - -moz-binding: url('chrome://example/skin/example.xbl#dropbox'); + -moz-binding: url('chrome://example/skin/example.xml#dropbox'); } XBL: diff -u xultu/xpcom.html /main/xultu/output/xultu/xpcom.html --- xultu/xpcom.html 2004-11-13 12:45:13.000000000 -0500 +++ /main/xultu/output/xultu/xpcom.html 2004-11-13 12:43:01.000000000 -0500 @@ -321,8 +321,8 @@
      var aFile = Components.classes["@mozilla.org/file/local;1"].createInstance();
       if (aFile instanceof Components.interfaces.nsILocalFile){
      -  aLocalFile.initWithPath("/mozilla/testfile.txt");
      -  aLocalFile.delete(false);
      +  aFile.initWithPath("/mozilla/testfile.txt");
      +  aFile.delete(false);
       }