select multiple

J

Jeff Thies

I'd like to present a list of options, with all options being visible.

I could use readio buttons, but I'm thinking about selects.

If I do this:

<select name="list_name" size="6" multiple>
<option selected value="eenie">eenie</option>
<option value="meenie">meenie</option>
<option value="minie">minie</option>
<option value="moe">moe</option>
</select>

I get an already open rolldown.

Downside is that you can select multiples (of course) and unused
scrollbars appear in some browsers.

Is there a way to get the look of the multiple with onle being able to
select single values (and perhaps, no scrollbars)?

Jeff
 
H

Hywel

Jeff said:
I'd like to present a list of options, with all options being visible.

I could use readio buttons, but I'm thinking about selects.

If I do this:

<select name="list_name" size="6" multiple>
Is there a way to get the look of the multiple with onle being able to
select single values (and perhaps, no scrollbars)?

Did you think of trying it without the "multiple" attribute in the
opening <select>?
 
J

Jeff Thies

Hywel said:
Did you think of trying it without the "multiple" attribute in the
opening <select>?

Of course not! If I had I wouldn't have asked such a dumb question!

Jeff
 
W

Whitecrest

Of course not! If I had I wouldn't have asked such a dumb question!

HEY! There are no stupid questions, only stupid... well, actually
that was pretty stupid..... ;-)
 
H

Hywel

Of course not! If I had I wouldn't have asked such a dumb question!

Well, I suppose someone has to state the obvious, which is easy to spot
in someone else's code, of course. When you're looking at your own,
"wood" and "trees" spring to mind.
 
W

Whitecrest

Well, I suppose someone has to state the obvious, which is easy to spot
in someone else's code, of course. When you're looking at your own,
"wood"...

that just sounds dirty....
 
J

Jeff Thies

Well, I suppose someone has to state the obvious, which is easy to spot
in someone else's code, of course. When you're looking at your own,
"wood" and "trees" spring to mind.

Thanks are still in order!

I was using CGI.pm to generate a scrolling_list and I hadn't really looked
at it when I pasted the output over.

I'm toying with this bit of javascript to simulate the selection in radio
groups:

<URL: http://thelimit.com/test/test_table.html >

Does no harm if no javascript.

Cheers,
Jeff
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top