V@no
02-07-2003, 10:43 AM
is that possible make default selected item be on the center in <select> ?
I did an avatar script, that changes avatar in user's profile, so, I'd like when user open the page to change his avatar, his avatar was selected in be in the middle of visible on screen selection (not on the middle of whole list ;) )
by default selected value is always on top of visible list...
another question, in other fields, like <input> when user press "enter" it works as if he clicked on SUBMIT button.
"enter" key doesnt work in <select> though. so, is there a way to use "enter" key there too?
thanks.
I did an avatar script, that changes avatar in user's profile, so, I'd like when user open the page to change his avatar, his avatar was selected in be in the middle of visible on screen selection (not on the middle of whole list ;) )
by default selected value is always on top of visible list...
another question, in other fields, like <input> when user press "enter" it works as if he clicked on SUBMIT button.
"enter" key doesnt work in <select> though. so, is there a way to use "enter" key there too?
thanks.