JQuery: selectmenu

Examples of selectmenu listed here

http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html

Look into source code.