Diff for /books/www/chapters/ch02.html between versions 1.4 and 1.5

version 1.4, 2002/10/03 19:20:51 version 1.5, 2002/10/03 21:21:12
Line 195  message);</PRE> Line 195  message);</PRE>
 <P>The window created in this example will be modal and use the message that was passed to it in the variable <I>message</I>. By default, Mozilla assumes that the <TT>chrome</TT> feature is on when you use either <TT>window.open</TT> or <TT>window.openDialog</TT> in a chrome environment, and creates a new window in the window hierarchy.  <P>The window created in this example will be modal and use the message that was passed to it in the variable <I>message</I>. By default, Mozilla assumes that the <TT>chrome</TT> feature is on when you use either <TT>window.open</TT> or <TT>window.openDialog</TT> in a chrome environment, and creates a new window in the window hierarchy.
 <H2><A NAME="77060"></A> Making Mozilla Work for You</H2>  <H2><A NAME="77060"></A> Making Mozilla Work for You</H2>
 <P>The second "Hello World" sample,  <!--INDEX Hello World XUL example:JavaScript and -->  <!--INDEX XUL (XML-based User-interface Language):Hello World example:JavaScript and --> shown in <A HREF="#77022">Example 2-4</A>, adds some important application features and begins to take advantage of the resources that Mozilla provides for you. This section goes over the ways you can import stylesheets and Mozilla scripts to make your XUL more sophisticated and modular. It also prepares you to make an actual application.  <P>The second "Hello World" sample,  <!--INDEX Hello World XUL example:JavaScript and -->  <!--INDEX XUL (XML-based User-interface Language):Hello World example:JavaScript and --> shown in <A HREF="#77022">Example 2-4</A>, adds some important application features and begins to take advantage of the resources that Mozilla provides for you. This section goes over the ways you can import stylesheets and Mozilla scripts to make your XUL more sophisticated and modular. It also prepares you to make an actual application.
<P>You can see this example in action by saving the code in <A HREF="#77022">Example 2-4</A> to a file, <I>hello2.xul</I>, and then launching Mozilla and selecting File &gt; Open File &gt; from the browser. This displays the example as content in the Mozilla browser, as shown in <A HREF="#77004">Figure 2-2</A>.<P>You can see this example in action by saving the code in <A HREF="#77022">Example 2-4</A> to a file, <I>hello2.xul</I>, and then launching Mozilla and selecting File &gt; Open File from the browser. This displays the example as content in the Mozilla browser, as shown in <A HREF="#77004">Figure 2-2</A>.
   
 <P><I>Example 2-4: <A NAME="77022"></A></I>  <P><I>Example 2-4: <A NAME="77022"></A></I>
 <I>Sample XUL window</I>  <I>Sample XUL window</I>

Removed from v.1.4  
changed lines
  Added in v.1.5


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