You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/toolbars/footer-persist-a.html
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,9 @@ <h1>Friends</h1>
21
21
22
22
<divdata-role="content">
23
23
<divclass="content-primary">
24
-
<p>This page is a demo of a persistent headers and footers. Click on any of the links in the footer, and you'll see the page content transition but the header and footer remain 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>
<p>These pages are a demo of persistent toolbars. Click on any of the links in the footer, and you'll see the page content transition but the persistent footer remains in place even when transitioning to a new HTML page.</p>
25
+
<p>To tell the framework to apply the persistent behavior, add a <code>data-id</code> attribute to the footer of all HTML pages in the navigation set to the same ID. </p>
26
+
<p>Typically, the persistent toolbar technique will be combined with fixed positioning and a navbar, like this:</p>
<p>To set the active state of an item in a persistent toolbar, add a class of <code>ui-state-persist</code> in addition to <code>ui-btn-active</code> to the corresponding anchor.</p>
0 commit comments