I need "Select"(size=1) to show scrollbar when clicking down arrow

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

    I need "Select"(size=1) to show scrollbar when clicking down arrow

    Dear all,

    I have one select which lists one visible element. I want this select
    can show scrollbar after I click its down arrow, so that i can use the
    scrollbar to select the element i want.

    I test it on windows IE. The scrollbar will be shown when the select
    has more than 30 elements, otherwise it won't show scrollbar. I don't
    want the list to be that long. I hope that the scrollbar can be shown
    when the number of elements is 8.

    I don't know if there is a simple way to solve this problem.

    I really appreciate for the help!!!

    Jenny

  • Jukka K. Korpela

    #2
    Re: I need "Select&qu ot;(size=1) to show scrollbar when clicking down arrow

    Scripsit Jenny:
    I have one select which lists one visible element. I want this select
    can show scrollbar after I click its down arrow, so that i can use the
    scrollbar to select the element i want.
    Why? Graphic browsers normally show a box where an item can be selected
    without scrolling.
    I test it on windows IE. The scrollbar will be shown when the select
    has more than 30 elements, otherwise it won't show scrollbar. I don't
    want the list to be that long. I hope that the scrollbar can be shown
    when the number of elements is 8.
    That's browser's user interface and beyond your control as an author.

    Yet I don't see why you want to enforce a scrolling mechanism when none is
    needed.
    I don't know if there is a simple way to solve this problem.
    There are simple ways to avoid creating the problem. Use a list of radio
    buttons or a text input field, if you have a real data entry form. Use a
    list of links, if the select element is just a surrogate for a menu of
    links. A choice between these depends on the original problem, which was not
    disclosed at all. What do you use the select element for, really?

    --
    Jukka K. Korpela ("Yucca")


    Comment

    Working...