Have you used <OPTGROUP> ? I have a few <OPTGROUP>, each contains several sub items using <OPTION>, I made the first <OPTGROUP>'s first item to be highlighted by default. Now, when the page is displayed, I find that it shows the first highlighted <OPTION> item in the toppest position, i.e I can't see the first <OPTGROUP> unless I scroll the bar upwards a little bit. This isn't exactly what I want, I want the first <OPTGROUP> to appear on the topest position and its 1st <OPTION> item is highlighted too.
It is because you are not allow to select it so that is why it is not in the view when the page is loaded.
posted 14 years ago
Originally posted by Eric Pascarello: It is because you are not allow to select it so that is why it is not in the view when the page is loaded.
not exactly. I have any similar page but it shows from the topest <OPTGROUP>. I found the reason for this -- If I set it to be "single" selectable, then the firt <OPTGROUP> never appears unless you scroll up; if I set it to "multiple", then the first <OPTGROUP> always appears.
I don't know why. But is there any way to get it around to ensure the first <OPTGROUP> appear by default ?
Get meta with me! What pursues us is our own obsessions! But not this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!