I use a menubar <div> with floating <ul>. The menu is dynamic and often there are too many elements for one line. The float puts the <ul>s on a newline. I would like to detect when this happens and show a more button. Any ideas?
Else I can do do it server side given the width of the element (I believe you can get this with javascript). I also need to take the font-size into account in this case.