Sexy Combo (jQuery plugin, http://code.google.com/p/sexy-combo/ ) can be modified using css to allow the box to move left. The changes depend on the chosen topic, but with the default "sexual" theme, here is the guide. First determine the width of the collapsed selector and the width of the advanced selector (I chose 100px and 200px). Then make the following changes to the "sexy" skin css file:
div.sexy { width: 100px; } div.sexy input { width: 83px; } div.sexy div.icon { left: 100px; } div.sexy div.list-wrapper { left: -100px; width: 200px; }
You want the default stream to be right, instead set the left property of "div.list-wrapper" to 0px.
I don't know if this is more or less elegant than with other combo plugins.
Advantages: (over Tony Joyce's answer) When folding, the first part of the line is displayed, not the last. In addition, this is really a combo box, and allows the user to enter what he is looking for. Supports ajax if necessary.
Disadvantages: Depending on JS, jQuery and Sexy Combo. Slow down. Does not use the os theme, i.e. It wonβt look like a Mac OS style popup menu on such a computer, but it will look the same at all.
source share