File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 293
293
</div><!-- /footer -->
294
294
</div><!--/demo-html -->
295
295
296
+ <h2>Navbars with button elements</h2>
297
+
298
+ <p>Instead of links you can also use button elements inside navbars.</p>
299
+
300
+ <div data-demo-html="true">
301
+ <div data-role="navbar" data-iconpos="left">
302
+ <ul>
303
+ <li><button data-icon="home">One</button></li>
304
+ <li><button data-icon="grid" data-theme="b">Two</button></li>
305
+ <li><button data-icon="search">Three</button></li>
306
+ </ul>
307
+ </div><!-- /navbar -->
308
+ </div><!--/demo-html -->
309
+
310
+ <div data-demo-html="true">
311
+ <div data-role="header" style="overflow:hidden;">
312
+ <h1>I'm a header</h1>
313
+ <div data-role="navbar" data-iconpos="right">
314
+ <ul>
315
+ <li><button data-icon="home">One</button></li>
316
+ <li><button data-icon="grid" data-theme="b">Two</button></li>
317
+ <li><button data-icon="search">Three</button></li>
318
+ </ul>
319
+ </div><!-- /navbar -->
320
+ </div><!-- /header -->
321
+ </div><!--/demo-html -->
322
+
296
323
</div><!-- /content -->
297
324
298
325
<?php include ( '../jqm-navmenu.php ' ); ?>
You can’t perform that action at this time.
0 commit comments