|
Posted by Jukka K. Korpela on May 3, 2007, 2:50 am
Please log in for more thread options
Scripsit Paul Gorodyansky:
> I have a drop-down list, 13 options there.
13 is an unlucky number. :-)
> If I click on it, Firefox shows all 13 items while Internet Explorer
> shows only 11 and a scroll bar -
> even if it's in the middle of a page and there is a lot of real
> estate below that.
>
> Is 11 a 'magic number' for IE?
Yes, in some versions of IE.
IE 7 seems to show much more; it seems that the magic number is 30 there.
> Is there a way to force IE to show the
> entire list?
No. You might be able to play some tricks on IE using JavaScript, if you
find out the relevant parameters and I way to affect them, but this would
fail when scripting is off and might depend on IE version.
Generally, drop-down lists are less useful on web pages than one might think
on the basis of user interfaces in typical programs. When a form is used for
user input, there's not that much point in creating several scrolling
systems - one for the page as a whole (as created by a browser automatically
when needed) and different scrolling mechanisms for select, textarea, and
input elements. Rather, you should organize the content so that everything
is visible at a glance to the extent that fits into the canvas - and
scrollable vertically with a single simple mechanism that users are well
familiar with. For example, you could use <select size="13"> or a fieldset
element containing 13 radio buttons.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
|