expanding popdown combos

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mermaid

    #1

    expanding popdown combos

    Hey all,

    I have a form with a drop down combo box of a specified size. However,
    I would
    really really like it if the user was looking at the contents of the
    list it would expand to fit the text in the list. However, I believe
    that IE does not allow the rendering of popdowns in this manner!

    Is there some other way that I can do this using javascript and
    html/dhtml maybe?

    All help much appreciated,
    Ciao ;o)
  • Randy Webb

    #2
    Re: expanding popdown combos

    mermaid wrote:[color=blue]
    > Hey all,
    >
    > I have a form with a drop down combo box of a specified size. However,
    > I would
    > really really like it if the user was looking at the contents of the
    > list it would expand to fit the text in the list. However, I believe
    > that IE does not allow the rendering of popdowns in this manner![/color]

    "expand to fit the text in the list"??? Are you referring to the length
    of the select element? It will be as wide as the longest string in the
    option (Thats an HTML question).
    [color=blue]
    > Is there some other way that I can do this using javascript and
    > html/dhtml maybe?[/color]

    That depends on what you are wanting to do. But dHTML is nothing more
    than HTML and Script together to make a page dynamic.



    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    Working...