Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Selectmenu: Reorder default demo to reduce the odd top-margin (still …

…needed to fully show the popup menu)
  • Loading branch information...
commit d5c74f77c8630922d8eb78fe10e8cb433e42dc9d 1 parent aa84b39
@jzaefferer jzaefferer authored
Showing with 17 additions and 18 deletions.
  1. +17 −18 demos/selectmenu/default.html
View
35 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>
Please sign in to comment.
Something went wrong with that request. Please try again.