Forum Moderators: open
Basically, I have a select tag with 12 options (months of the year) and I'd prefer to show all 12 at once rather than scrolling one place at either end of the list. Any ideas? Thanks.
is that what u intend to do?
When you click on it, the dropdown list unfolds but rather than showing all 12, there are 11 and you have to scroll between seeing January and seeing December.
What I was wondering was if there was a way to show all 12 without scrolling, when you click on the arrow, not showing all 12 options to start with. It's just me being pernickity!
I have thought of a way: Having 2 selects, and hiding the second with layers or z-index dependent upon the browser. Set the size property to 12 on the second and disable the first.
On the First's onClick event bring the second to the front. And on the
seconds on click event hide it and feed the selected value through to the first.
Far too much hassle though!! I just thought there might be "scrolling:no" or similar.
Thanks again.
With only 12 options that ought not to be an issue. But it's still not a good idea to try it.
I'm sure there are plenty of things that a poor web designer could do to throw a browser, if incorrect and ill-thought-out settings were applied in a page.
It's only because I would prefer to see all 12 items at once and can't see any reason to scroll at 11 items. Doesn't that make sense?