This commit is contained in:
PattyToland 2010-10-15 21:07:11 -04:00
parent 1aa1740513
commit 7492fe6066

View file

@ -36,14 +36,27 @@
<li><a href="bars-fixed.html">Fixed</a></li>
<li><a href="bars-inline.html">Inline</a></li>
<li><a href="bars-fullscreen.html">Fullscreen</a></li>
<li><a href="../../_dialog.html" data-transition="pop" data-rel="dialog">Dialog</a></li>
<li><a href="bars-persist.html">Persistent</a></li>
<li><a href="bars-themes.html">Themes</a></li>
</ul>
</div><!-- /navbar -->
</pre></code>
<p>The navbar can be added inside the header or footer bar if you want it to persist.</p>
<p>The markup above creates a two-row nav bar element in the body of the page, like this:</p>
<div data-role="navbar">
<ul>
<li><a href="bars-fixed.html">Fixed</a></li>
<li><a href="bars-inline.html">Inline</a></li>
<li><a href="bars-fullscreen.html">Fullscreen</a></li>
<li><a href="bars-persist.html">Persisten</a></li>
<li><a href="bars-themes.html">Themes</a></li>
</ul>
</div><!-- /navbar -->
<p>The navbar can be added inside the header or footer bar; if you want it to persist, simply add a <code>data-position="fixed"</code> attribute to the header or footer <code>div</code> container.</p>