summaryrefslogtreecommitdiffstats
path: root/jquery.multiple.select.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery.multiple.select.js')
-rw-r--r--jquery.multiple.select.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js
index 6d2ccf3..91fae5b 100644
--- a/jquery.multiple.select.js
+++ b/jquery.multiple.select.js
@@ -19,7 +19,7 @@
this.$parent = $('<div class="ms-parent"></div>');
this.$choice = $('<button type="button" class="ms-choice"><span class="placeholder">' +
options.placeholder + '</span><div></div></button>');
- this.$drop = $('<div class="ms-drop"></div>');
+ this.$drop = $('<div class="ms-drop ' + options.position + '"></div>');
this.$el.after(this.$parent);
this.$parent.append(this.$choice);
this.$parent.append(this.$drop);
@@ -396,6 +396,7 @@
width: undefined,
maxHeight: 250,
container: null,
+ position: 'bottom', // 'bottom' or 'top'
onOpen: function() {return false;},
onClose: function() {return false;},