mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-12 00:23:11 +00:00
edits
This commit is contained in:
parent
1aa1740513
commit
7492fe6066
1 changed files with 15 additions and 2 deletions
|
|
@ -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>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue