The Navbar widget can be used to provide navigation links in your application. A Persistent Navbar stays fixed in the same position in your application, like a fixed tab bar, as you navigate between pages. This recipe shows you how to use persistent navbars in the toolbars to create a simple TV Menu UI.
Copy the full code of this recipe from the
code/03/persistent-navbar sources folder. This code can be launched using the URL
main.htmlcreate a simple TV Menu UI with three pages in it, "
#songs", and "
#serials". Add the
#moviespage with its header and footer having navbars as shown in the following code:
<div id="movies" ...