From what I am seeing in the demos, NavBar just displays a static list... What would be the proper way to link each "Nav" item to another view?
Thanks!
-Ronnie
1 Answer, 1 is accepted
0
Kamen Bundev
Telerik team
answered on 29 Jun 2012, 10:29 AM
Hi Ronnie,
You can set the button href attribute to point to the ID of the view you want to show and it would navigate to it on click, like this: <div data-role="view" id="source" data-title="Source">
<header data-role="header">
<div data-role="navbar">
...
<a data-align="right" data-role="button" href="#target">Click me</a>
</div>
</header>
</div>
<div data-role="view" id="target" data-title="Target">
...
</div>
Kind regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!