Click here to get back home

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

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
I need "Select"(size=1) to show scrollbar when clicking down arrow Jenny 08-16-2007
Posted by Jenny on August 16, 2007, 2:49 am
Please log in for more thread options


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


Posted by Jukka K. Korpela on August 16, 2007, 7:04 am
Please log in for more thread options


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


Similar ThreadsPosted
I need "Select"(size=1) to show scrollbar when clicking down arrow August 16, 2007, 2:50 am
Show right arrow character in Mozilla and Opera? July 19, 2004, 2:34 pm
Swap image on clicking a link June 3, 2008, 6:07 pm
dropdownlist border and dropdown arrow? July 16, 2007, 12:16 am
Vertical scroll bar with missing bottom arrow? July 22, 2004, 8:04 pm
How can I display a right arrow in IE aligned vertically in the middle? October 16, 2005, 9:39 am
frame and scrollbar July 1, 2006, 5:55 am
scrollbar won't add to popup window July 22, 2004, 1:57 pm
DIV Scrollbar problem in FireFox... May 23, 2005, 7:01 am
100% width element causes scrollbar in IE when dir=rtl December 14, 2007, 5:21 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap