  Franz Mad A Premium join:2003-06-24 Saint Louis, MO
·Charter Pipeline
| web dev help - onhover

I currently have the drop down list shown above.
Notice the arrow pointing at "Federated". Is there a way that I can make this box do 1 of 2 things:
1) Expand the whole box to autofit the widest phrase in the list (without pushing any of the other page code around).
2) Leave the list as it is, but when I hover my mouse over a word, a little popup (like a tooltip) comes up with the whole word in it.
-- V Pillars |
|
  JAAulde yum yum yum yum yum Premium,MVM join:2001-05-09 Hagerstown, MD
·Verizon Online DSL
edit: May 6th, @09:53AM
| Remove the width attribute from your DropDownList element.
Your code should look this this:
-- No eat apple, eat cookie. Apple spoil dinner.
My Development Sandbox | Blessed Beyond Reason | LinkedIn Profile |
|
  Franz Mad A Premium join:2003-06-24 Saint Louis, MO | won't that just push the rest of my page around though? i would like the rest of the page to remain static, and have this sort of "hover" over everything when expanded -- V Pillars |
|
  JAAulde yum yum yum yum yum Premium,MVM join:2001-05-09 Hagerstown, MD
·Verizon Online DSL
| If you're filling a SELECT with an arbitrary list of OPTIONs whose text could be any length, you need to let the width be dynamic. This would mean you design other things around the "dynamicity" to accommodate for it.
There are probably some tricky things that could be done with some JS, but honestly I don't think it is worth it. |
|