You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2003/12/29 11:07:53 UTC

cvs commit: xml-forrest/src/documentation/content/xdocs your-project.xml

nicolaken    2003/12/29 02:07:53

  Modified:    src/documentation/content/xdocs your-project.xml
  Log:
  Add subtabs docs
  
  Revision  Changes    Path
  1.33      +20 -2     xml-forrest/src/documentation/content/xdocs/your-project.xml
  
  Index: your-project.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/content/xdocs/your-project.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- your-project.xml	12 Dec 2003 19:31:14 -0000	1.32
  +++ your-project.xml	29 Dec 2003 10:07:53 -0000	1.33
  @@ -410,6 +410,24 @@
             for more details, and again, consult Forrest's own docs for a usage
             example.
           </p>
  +        <p>You can have one or two levels of tabs. The images above show a 
  +        single level. However, you can create a second level that
  +        will only be displayed when its parent tab is selected. For example,
  +        the <code>tabs.xml</code> snippet below will display either one or
  +        two rows of tabs, depending on which of the top level tabs is selected.
  +        The first row will have two tabs, one labelled <code>How-Tos</code>, the
  +        other labelled <code>Apache XML Projects</code>. When the 
  +        <code>How-Tos</code> tab is selected there will
  +        be no second row of tabs. However, when the <code>Apache XML
  +        Projects</code> tab is selected, a second row of tabs will be displayed
  +        below the first.</p>
  +        <source><![CDATA[
  +  <tab label="How-Tos" dir="community/howto/"/>
  +  <tab label="Apache XML Projects" href="http://xml.apache.org">
  +    <tab label="Forrest" href="http;//xml.apache.org/forrest"/>
  +    <tab label="Xerces" href="http;//xml.apache.org/xerces"/>
  +  </tab>
  +]]></source>
         </section>
         <section id="images">
           <title>Images</title>