




































































<table cellpadding=1 cellspacing=0 border=0>
<tr>
<td bgcolor=#113377 width=1%>



<b><font color=#ffffff size=+3 >&nbsp;&lt;sb-menu&gt;&nbsp;</font></b>

</td>
<td>
<img src=/internal-roxen-unit width=200 height=1 alt=""></td>
</tr>

<tr>
<td bgcolor=black colspan=2>


<table cellpadding=4 border=0 cellspacing=0 width=100%>
<tr>
<td bgcolor=#ffffff>



&lt;sb-menu&gt; is defined in the SiteBuilder tags module.
<p>
Produces a menu from a menu file or directory listings, suitable for
usage together with the <tt>&lt;navigation&gt;</tt> tag.


<br clear=all>
<img src=/internal-roxen-unit width=1 height=10 alt="">

</td>
</tr>
</table>


<table cellpadding=4 border=0 cellspacing=0>
<tr>
<td bgcolor=#113377 width=1%>
<font color=white>Arguments&nbsp;passed&nbsp;to&nbsp;the&nbsp;tag:</font>
</td>
<td bgcolor=#ffffff>
<img src=/internal-roxen-unit width=100% height=1 alt=""></td>
</tr>
<tr>

<td bgcolor=#ffffff colspan=2>






<a href="#menu">menu</a>,
<a href="#above">above</a>,
<a href="#below">below</a>,
<a href="#history">history</a>,
<a href="#dirs">dirs</a>,
<a href="#glob">glob</a>,
<a href="#type">type</a>,
<a href="#path">path</a>,
&nbsp;

</td>
</tr>
</table>


</td>
</tr>
</table>






































<p>
<b><font color=#113377 size=+2 >Attributes</font></b>



<dl>

<p><dt><tt><b><a name="menu">menu</a></b></tt>=<i>filename</i>
<dd>
Reads the menu from a menu file with this name. If there are no
menu file in the current directory and a <tt>dir</tt>,
<tt>type</tt> or <tt>glob</tt> attribute is present, a directory
listing will be read instead. If not, the tag will search for a menu
file with this name in the parent directory and its parent directory
until a suitable menu file is found or all directories has been
tried. 




<p><dt><tt><b><a name="above">above</a></b></tt>

<dd>
Only produce the part of the menu above and including the selected
entry.



<p><dt><tt><b><a name="below">below</a></b></tt>

<dd>
Only produce the part of the menu below the selected entry.



<p><dt><tt><b><a name="history">history</a></b></tt>

<dd>
Creates the menu from all the directories in the path, including the
current directory. 



<p><dt><tt><b><a name="dirs">dirs</a></b></tt>

<dd>
Create a menu from all directories in the directory specified by the
<tt>attribute</tt> or the current directory. Can be combined with
the <tt>glob</tt> and <tt>type</tt> attributes as well as the
<tt>menu</tt> attribute.



<p><dt><tt><b><a name="glob">glob</a></b></tt>=<i>glob-pattern,glob-pattern,...</i>
<dd>
Create a menu from the files whos name match one of the glob
patterns. It searches for files in the directory specified with the
<tt>path</tt> attribute or the current directory. Can be combined
with the <tt>dirs</tt> and <tt>type</tt> attributes as well as the
<tt>menu</tt> attribute. 




<p><dt><tt><b><a name="type">type</a></b></tt>=<i>glob-pattern,glob-pattern,...</i>
<dd>
Create a menu from the files whos content type match one of the glob
patterns. It searches for files in the directory specified by the
<tt>path</tt> attribute or the current directory. Can be combined with
the <tt>dirs</tt> and <tt>glob</tt> attributes as well as the
<tt>menu</tt> attribute. 




<p><dt><tt><b><a name="path">path</a></b></tt>=<i>path</i>
<dd>
Change which directory the <tt>dirs</tt>, <tt>glob</tt> and
<tt>type</tt> attributes should work on.




</dl>










<b><font color=#113377 size=+2 >Example</font></b>


<table border=0 cellpadding=1 cellspacing=0 bgcolor=#000000>
<tr>
<td>
<table border=0 cellspacing=0 cellpadding=4>
 <tr>
  <td valign=top bgcolor=#113377>
   <font color=#ffffff><b>source code</b></font>
  </td>
  <td bgcolor=white>
<pre><define name=foo>
<navigation bg=black height=100 width=100> 
  <textstyle scale=0.5 xspacing=4 yspacing=4> 
  <boxstyle middle text bg=darkblue fg=white alpha=255> 
  <boxstyle middle text selected bg=purple fg=yellow alpha=150> 
  <boxstyle middle text mouseover bg=darkblue fg=yellow alpha=255> 

  <mi href="/SiteBuilder1.0/Templates/references/" >Appendix</mi>
<mi href="/SiteBuilder1.0/Templates/templates/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/tags/"  selected>Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/examples/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/navigation/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/introduction/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/img/" >img</mi>

</navigation>
</define>
<insert name=foo "<"=&lt; ">"=&gt; ></pre>
   <br clear=all>
   <img src=/internal-roxen-unit width=1 height=1 alt="">
  </td>
 </tr>
 <tr>
  <td height=1 bgcolor=#113377><img src=/internal-roxen-unit width=1 height=1 alt=""></td>
  <td height=1 bgcolor=#ffffff>

   <table border=0 cellpadding=0 cellspacing=0 width=100%>
    <tr>
     <td bgcolor=#000000>
     <img src=/internal-roxen-unit width=1 height=1 alt=""></td>
    </tr>
   </table>
  </td>
 </tr>
 <tr>
  <td valign=top bgcolor=#113377>
  <font color=#ffffff><b>result</b></font>
</td>
<td valign=top bgcolor=#ffffff>


<navigation bg=black height=100 width=100> 
  <textstyle scale=0.5 xspacing=4 yspacing=4> 
  <boxstyle middle text bg=darkblue fg=white alpha=255> 
  <boxstyle middle text selected bg=purple fg=yellow alpha=150> 
  <boxstyle middle text mouseover bg=darkblue fg=yellow alpha=255> 

  <mi href="/SiteBuilder1.0/Templates/references/" >Appendix</mi>
<mi href="/SiteBuilder1.0/Templates/tags/"  selected>Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/examples/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/introduction/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/navigation/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/templates/" >Introduction</mi>
<mi href="/SiteBuilder1.0/Templates/img/" >img</mi>

</navigation>


   <br clear=all>
   <img src=/internal-roxen-unit width=1 height=1 alt="">
</td>
</tr>

</table>
</td>
</tr>
</table><p>


<if not cookie=rxml-help>

</td></tr>
</table>
</body>
</html>
</if not cookie=rxml-help>
