|
16 | 16 | $(function() {
|
17 | 17 | $('#speed').selectmenu();
|
18 | 18 |
|
| 19 | + $('#files').selectmenu(); |
| 20 | + |
19 | 21 | var withOverflow = $('#number').selectmenu({
|
20 | 22 | dropdown: false
|
21 | 23 | });
|
22 | 24 | withOverflow.selectmenu("widget").addClass("overflow");
|
23 |
| - |
24 |
| - $('#files').selectmenu(); |
25 |
| - |
26 | 25 | });
|
27 | 26 | </script>
|
28 | 27 | <style>
|
29 |
| - form { margin: 100px 0 0 0 } |
| 28 | + form { margin: 50px 0 0 0 } |
30 | 29 | fieldset { border: 0; }
|
31 | 30 | label { display: block; }
|
32 | 31 | select { width: 200px; }
|
|
50 | 49 | <br />
|
51 | 50 | <br />
|
52 | 51 | <br />
|
| 52 | + <label for="files">Select a file:</label> |
| 53 | + <select name="files" id="files"> |
| 54 | + <optgroup label="Scripts"> |
| 55 | + <option value="jquery">jQuery.js</option> |
| 56 | + <option value="jqueryui">ui.jQuery.js</option> |
| 57 | + </optgroup> |
| 58 | + <optgroup label="Other files"> |
| 59 | + <option value="somefile">Some unknown file</option> |
| 60 | + <option value="someotherfile">Some other file</option> |
| 61 | + </optgroup> |
| 62 | + </select> |
| 63 | + <br /> |
| 64 | + <br /> |
| 65 | + <br /> |
53 | 66 | <label for="number">Select a number:</label>
|
54 | 67 | <select name="number" id="number">
|
55 | 68 | <option value="1">1</option>
|
|
72 | 85 | <option value="18">18</option>
|
73 | 86 | <option value="19">19</option>
|
74 | 87 | </select>
|
75 |
| - <br /> |
76 |
| - <br /> |
77 |
| - <br /> |
78 |
| - <label for="files">Select a file:</label> |
79 |
| - <select name="files" id="files"> |
80 |
| - <optgroup label="Scripts"> |
81 |
| - <option value="jquery">jQuery.js</option> |
82 |
| - <option value="jqueryui">ui.jQuery.js</option> |
83 |
| - </optgroup> |
84 |
| - <optgroup label="Other files"> |
85 |
| - <option value="somefile">Some unknown file</option> |
86 |
| - <option value="someotherfile">Some other file</option> |
87 |
| - </optgroup> |
88 |
| - </select> |
89 | 88 | </fieldset>
|
90 | 89 | </form>
|
91 | 90 |
|
|
0 commit comments