Skip to content

Commit 8b9518d

Browse files
Navbar: Added not about ui-state-persist doesn't work with external toolbars. Addresses jquery-archive/jquery-mobile#6559
1 parent c345220 commit 8b9518d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entries/navbar.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
</div><!-- /navbar -->
3030
</code></pre>
3131

32+
<p>Note that this on applies to navbars that are inside a page. If you use a true persistent toolbar that lives outside the page and want to set current item to the active state, you have to add a script that adds the <code>class="ui-btn-active"</code> class.</p>
33+
3234
<p>The navbar items are set to divide the space evenly so in this case, each button is 1/2 the width of the browser window:
3335
<iframe src="/resources/navbar/example1.html" style="width:100%;height:90px;border:0px"></iframe></p>
3436

0 commit comments

Comments
 (0)