aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/selectmenu/default.html35
1 files changed, 17 insertions, 18 deletions
diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html
index 804cc6bc3..5653ac76c 100644
--- a/demos/selectmenu/default.html
+++ b/demos/selectmenu/default.html
@@ -16,17 +16,16 @@
$(function() {
$('#speed').selectmenu();
+ $('#files').selectmenu();
+
var withOverflow = $('#number').selectmenu({
dropdown: false
});
withOverflow.selectmenu("widget").addClass("overflow");
-
- $('#files').selectmenu();
-
});
</script>
<style>
- form { margin: 100px 0 0 0 }
+ form { margin: 50px 0 0 0 }
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
@@ -50,6 +49,20 @@
<br />
<br />
<br />
+ <label for="files">Select a file:</label>
+ <select name="files" id="files">
+ <optgroup label="Scripts">
+ <option value="jquery">jQuery.js</option>
+ <option value="jqueryui">ui.jQuery.js</option>
+ </optgroup>
+ <optgroup label="Other files">
+ <option value="somefile">Some unknown file</option>
+ <option value="someotherfile">Some other file</option>
+ </optgroup>
+ </select>
+ <br />
+ <br />
+ <br />
<label for="number">Select a number:</label>
<select name="number" id="number">
<option value="1">1</option>
@@ -72,20 +85,6 @@
<option value="18">18</option>
<option value="19">19</option>
</select>
- <br />
- <br />
- <br />
- <label for="files">Select a file:</label>
- <select name="files" id="files">
- <optgroup label="Scripts">
- <option value="jquery">jQuery.js</option>
- <option value="jqueryui">ui.jQuery.js</option>
- </optgroup>
- <optgroup label="Other files">
- <option value="somefile">Some unknown file</option>
- <option value="someotherfile">Some other file</option>
- </optgroup>
- </select>
</fieldset>
</form>