Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 16th, 2007, 07:55 AM
Jenny
Guest
 
Posts: n/a
Default 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

  #2  
Old August 16th, 2007, 12:05 PM
Jukka K. Korpela
Guest
 
Posts: n/a
Default Re: I need "Select"(size=1) to show scrollbar when clicking down arrow

Scripsit Jenny:
Quote:
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.
Quote:
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.
Quote:
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")
http://www.cs.tut.fi/~jkorpela/

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles