Wider dropdown based on text
- by oshirowanen
I have the following script:
http://jsfiddle.net/oshirowanen/6SUwR/3/
How do I give the drop down section a dynamic width based on the characters in the dropdown? For example, if "navigation 1" was "this is the first item in the navigation", How do I make the width of the whole dropdown wider automatically, but without affecting the size of the…