Setting the number of elements in selectboxes...

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

    Setting the number of elements in selectboxes...

    Hi,

    I have made a selectbox (<Select....><o ption...>...) with size=1(It has to
    be size=1). It contains about 40 elements. It is placed on the top of my
    webpage abd I would like to see as many elements as possible when it is
    opened. As default there is only 12 elements that shows and then I have to
    scroll down to the other 28 elements.

    Is there a way to set the selectbox to show more than 12 elements when its
    opened?


    Regards,

    Kjell Breimo.




  • Grant Wagner

    #2
    Re: Setting the number of elements in selectboxes...

    Kjell Breimo wrote:
    [color=blue]
    > Hi,
    >
    > I have made a selectbox (<Select....><o ption...>...) with size=1(It has to
    > be size=1). It contains about 40 elements. It is placed on the top of my
    > webpage abd I would like to see as many elements as possible when it is
    > opened. As default there is only 12 elements that shows and then I have to
    > scroll down to the other 28 elements.
    >
    > Is there a way to set the selectbox to show more than 12 elements when its
    > opened?
    >
    > Regards,
    >
    > Kjell Breimo.[/color]

    No, the number of items shown on a drop-down (<select>) menu is entirely up to
    the browser.

    --
    | Grant Wagner <gwagner@agrico reunited.com>

    * Client-side Javascript and Netscape 4 DOM Reference available at:
    *


    * Internet Explorer DOM Reference available at:
    *
    Gain technical skills through documentation and training, earn certifications and connect with the community


    * Netscape 6/7 DOM Reference available at:
    * http://www.mozilla.org/docs/dom/domref/
    * Tips for upgrading JavaScript for Netscape 7 / Mozilla
    * http://www.mozilla.org/docs/web-deve...upgrade_2.html


    Comment

    Working...