123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>jQuery Mobile Framework - Persistent footer A</title>
- <link rel="stylesheet" href="../../jquery.mobile-1.0.1.min.css" />
- <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
- <script src="../../jquery.js"></script>
- <script src="../../experiments/themeswitcher/jquery.mobile.themeswitcher.js"></script>
- <script src="../_assets/js/jqm-docs.js"></script>
- <script src="../../jquery.mobile-1.0.1.min.js"></script>
- </head>
- <body>
- <div data-role="page" class="type-interior">
- <div data-role="header" data-theme="f" data-position="fixed">
- <h1>Friends</h1>
- <a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
- </div>
-
- <div data-role="content">
- <div class="content-primary">
- <p>This page is a demo of a persistent footer navigation bar. At the foot of the page, you'll see a persistent horizontal navigation bar. Click on any of the links, and you'll see the page content transition but the footer remains fixed: The footer sticks persistently even when transitioning to a new HTML page, because the footer on all four HTML pages has the same <code>data-id</code> attribute. <strong>Note:</strong> If you'd like an active button in your navbar to remain active when you return to the page displaying this active button, add a class of <code>ui-state-persist</code> in addition to <code>ui-btn-active</code> to the corresponding anchor.</p>
-
- <ul data-role="listview" data-dividertheme="d" style="margin-top: 0;">
- <li data-role="list-divider">A</li>
- <li><a href="index.html">Adam Kinkaid</a></li>
- <li><a href="index.html">Alex Wickerham</a></li>
- <li><a href="index.html">Avery Johnson</a></li>
- <li data-role="list-divider">B</li>
- <li><a href="index.html">Bob Cabot</a></li>
- <li data-role="list-divider">C</li>
- <li><a href="index.html">Caleb Booth</a></li>
- <li><a href="index.html">Christopher Adams</a></li>
- <li><a href="index.html">Culver James</a></li>
- <li data-role="list-divider">D</li>
- <li><a href="index.html">David Walsh</a></li>
- <li><a href="index.html">Drake Alfred</a></li>
- <li data-role="list-divider">E</li>
- <li><a href="index.html">Elizabeth Bacon</a></li>
- <li><a href="index.html">Emery Parker</a></li>
- <li><a href="index.html">Enid Voldon</a></li>
- <li data-role="list-divider">F</li>
- <li><a href="index.html">Francis Wall</a></li>
- <li data-role="list-divider">G</li>
- <li><a href="index.html">Graham Smith</a></li>
- <li><a href="index.html">Greta Peete</a></li>
- <li data-role="list-divider">H</li>
- <li><a href="index.html">Harvey Walls</a></li>
- <li data-role="list-divider">M</li>
- <li><a href="index.html">Mike Farnsworth</a></li>
- <li><a href="index.html">Murray Vanderbuilt</a></li>
- <li data-role="list-divider">N</li>
- <li><a href="index.html">Nathan Williams</a></li>
- <li data-role="list-divider">P</li>
- <li><a href="index.html">Paul Baker</a></li>
- <li><a href="index.html">Pete Mason</a></li>
- <li data-role="list-divider">R</li>
- <li><a href="index.html">Rod Tarker</a></li>
- <li data-role="list-divider">S</li>
- <li><a href="index.html">Sawyer Wakefield</a></li>
- </ul>
-
- </div><!--/content-primary -->
- <div class="content-secondary">
- <div data-role="collapsible" data-collapsed="true" data-theme="b" data-content-theme="d">
- <h3>More in this section</h3>
- <ul data-role="listview" data-theme="c" data-dividertheme="d">
- <li data-role="list-divider">Toolbars</li>
- <li><a href="docs-bars.html">Toolbar basics</a></li>
- <li><a href="docs-headers.html">Header bars</a></li>
- <li><a href="docs-footers.html">Footer bars</a></li>
- <li><a href="docs-navbar.html">Navbars</a></li>
- <li><a href="bars-fixed.html">Fixed positioning</a></li>
- <li><a href="bars-fullscreen.html">Fullscreen positioning</a></li>
- <li data-theme="a"><a href="footer-persist-a.html">Persistent footer navbar</a></li>
- <li><a href="bars-themes.html">Theming toolbars</a></li>
- </ul>
- </div>
- </div>
- </div><!-- /content -->
- <div data-role="footer" data-id="foo1" data-position="fixed">
- <div data-role="navbar">
- <ul>
- <li><a href="footer-persist-a.html" class="ui-btn-active ui-state-persist">Friends</a></li>
- <li><a href="footer-persist-b.html">Albums</a></li>
- <li><a href="footer-persist-c.html">Emails</a></li>
- </ul>
- </div><!-- /navbar -->
- </div><!-- /footer -->
- </div><!-- /page -->
- </body>
- </html>
|