1
0
Fork 0
forked from 0x2620/oxjs

add SelectInput

This commit is contained in:
rolux 2011-12-01 11:52:23 +01:00
commit 3d3be10e2c
5 changed files with 118 additions and 13 deletions

View file

@ -206,7 +206,9 @@ Ox.Select = function(options, self) {
} else if (key == 'title') {
self.$title.html(value);
} else if (key == 'width') {
Ox.Log('Form', 'SETTING WIDTH OPTION', value)
self.$title.css({width: getTitleWidth() + 'px'});
that.css({width: value - 2 + 'px'});
} else if (key == 'value') {
Ox.Log('Form', 'SETTING VALUE OPTION', value)
that.selectItem(value);