hi,
I have a php-Script which gets passed a Boat-ID and this is used to
mark an element in a <select> as the default:
<select name="boote[]" multiple="multiple" size="5">
<option value='43'>Aisha</option>
<option value='40'>Amsterdam</option>
<option value='55'>Asmaa</option>
<option value='20'>Beau Rivage</option>
<option value='48'>Blue Perl</option>
<option value='49'>Blue Planet 1</option>
<option value='37'>Capt. Moro</option>
<option value='41'>Coral Queen</option>
<option value='2' selected='selected'>Diamond-Heaven</option>
<option value='10'>Discovery</option>
<option value='21'>Dive One</option>
</select>
The problem is that this is a multiple selection <select> and while
with the above code, "Diamond-Heaven" is selected, it is
not visible (not in the scrolled window).
How can I make it behave somewhat like Mozilla (selected item is in
visible window by default)?
Maybe using javascript?
thanks,
--
Felix Natter