Setting the number of elements in selectboxes...

K

Kjell Breimo

Hi,

I have made a selectbox (<Select....><option...>...) 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.
 
G

Grant Wagner

Kjell said:
Hi,

I have made a selectbox (<Select....><option...>...) 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.

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

--
| Grant Wagner <[email protected]>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp

* 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-developer/upgrade_2.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top