|
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 | | - <title>Custom select - jQuery Mobile Demos</title> |
7 | | - <link rel="stylesheet" href="../../../css/themes/default/jquery.mobile.css"> |
8 | | - <link rel="stylesheet" href="../../_assets/css/jqm-demos.css"> |
9 | | - <link rel="shortcut icon" href="../../favicon.ico"> |
| 6 | + <title>Custom selects - jQuery Mobile Demos</title> |
| 7 | + <link rel="stylesheet" href="../../../css/themes/default/jquery.mobile.css"> |
| 8 | + <link rel="stylesheet" href="../../_assets/css/jqm-demos.css"> |
| 9 | + <link rel="shortcut icon" href="../../favicon.ico"> |
10 | 10 | <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"> |
11 | | - <script src="../../../js/jquery.js"></script> |
12 | | - <script src="../../_assets/js/"></script> |
13 | | - <script src="../../../js/"></script> |
| 11 | + <script src="../../../js/jquery.js"></script> |
| 12 | + <script src="../../_assets/js/"></script> |
| 13 | + <script src="../../../js/"></script> |
14 | 14 | </head> |
15 | 15 | <body> |
16 | 16 | <div data-role="page" class="jqm-demos" data-quicklinks="true"> |
17 | 17 |
|
18 | | - <div data-role="header" class="jqm-header"> |
19 | | - <h1>Custom select</h1> |
20 | | - <a href="#" class="jqm-search-link" data-icon="search" data-iconpos="notext">Search</a> |
21 | | - <?php include( '../../search.php' ); ?> |
22 | | - </div><!-- /header --> |
| 18 | + <div data-role="header" class="jqm-header"> |
| 19 | + <h1 class="jqm-logo"><a href="../../"><img src="../../_assets/img/jquery-logo.png" alt="jQuery Mobile Framework"></a></h1> |
| 20 | + <a href="#" class="jqm-navmenu-link" data-icon="bars" data-iconpos="notext">Navigation</a> |
| 21 | + <a href="#" class="jqm-search-link" data-icon="search" data-iconpos="notext">Search</a> |
| 22 | + <?php include( '../../search.php' ); ?> |
| 23 | + </div><!-- /header --> |
23 | 24 |
|
24 | | - <div data-role="content" class="jqm-content"> |
| 25 | + <div data-role="content" class="jqm-content"> |
25 | 26 |
|
26 | | - <form> |
| 27 | + <h1>Custom select menu <a href="http://api.jquerymobile.com/select/" data-ajax="false" data-role="button" data-inline="true" data-mini="true" data-icon="arrow-r" data-iconpos="right" class="jqm-api-link">API</a></h1> |
| 28 | + |
| 29 | + <p class="jqm-intro">The custom select uses a popup with a listview to display the menu. For long lists a dialog will be used. |
| 30 | + </p> |
| 31 | + |
| 32 | + <h2>Examples</h2> |
27 | 33 |
|
28 | 34 | <div data-demo-html="true"> |
29 | 35 | <div data-role="fieldcontain"> |
30 | | - <label for="select-custom-1">Basic:</label> |
31 | | - <select name="select-custom-1" id="select-custom-1" data-native-menu="false"> |
32 | | - <option value="1">The 1st Option</option> |
33 | | - <option value="2">The 2nd Option</option> |
34 | | - <option value="3">The 3rd Option</option> |
35 | | - <option value="4">The 4th Option</option> |
36 | | - </select> |
| 36 | + <label for="select-custom-1">Basic:</label> |
| 37 | + <select name="select-custom-1" id="select-custom-1" data-native-menu="false"> |
| 38 | + <option value="1">The 1st Option</option> |
| 39 | + <option value="2">The 2nd Option</option> |
| 40 | + <option value="3">The 3rd Option</option> |
| 41 | + <option value="4">The 4th Option</option> |
| 42 | + </select> |
37 | 43 | </div> |
38 | 44 | </div><!--/demo-html --> |
39 | 45 |
|
|
370 | 376 | </fieldset> |
371 | 377 | </div><!--/demo-html --> |
372 | 378 |
|
373 | | - </form> |
374 | | - |
375 | 379 | </div><!-- /content --> |
376 | 380 |
|
377 | 381 | <div data-role="footer" class="jqm-footer"> |
378 | 382 | <p class="jqm-version"></p> |
379 | 383 | <p>Copyright 2013 The jQuery Foundation</p> |
380 | 384 | </div><!-- /footer --> |
381 | 385 |
|
| 386 | +<?php include( '../../global-nav.php' ); ?> |
| 387 | + |
382 | 388 | </div><!-- /page --> |
383 | 389 | </body> |
384 | 390 | </html> |
0 commit comments