Re: Scroll to selected item in select listbox
From: RobB (ferndoc9_at_hotmail.com)
Date: 02/17/05
- Previous message: Edson: "window.print()"
- In reply to: Raul Pires: "Re: Scroll to selected item in select listbox"
- Next in thread: Roland Hall: "Re: Scroll to selected item in select listbox"
- Messages sorted by: [ date ] [ thread ]
Date: 17 Feb 2005 11:58:49 -0800
Raul Pires wrote:
> Not possible. The page layout only allows the list to have 10 visible
> elements.
> The strange thing is if i have a button that sets the select list
> selectedIndex to the last element and then click the button, the
scroll
> is made. But, if i use the same code that does this after the list is
> design it does not scroll...
> Any suggestion?
>
> Thanks
>
> McKirahan wrote:
>
> >"Raul Pires" <rpires@siscog.pt> wrote in message
> >news:4214B6FA.5070702@siscog.pt...
> >
> >
> >>Hello!
> >>I have a select listbox with 20 elements but only 10 are visible. I
set
> >>the 15 position to be the selected one and it is but,, since only
10 are
> >>visible, a scroll is not made in the select list box allowing the
> >>selected element to be showed. Is there anyway to make the scroll
to the
> >>selected element??
> >>Thanks
> >>
> >>Raul
> >>
> >>
> >>
> >
> >You may want to try:
> >
> > <select size="20">
> >
> >
> >
> >
What browser are you using? afaik all the major ones do this
automatically (scroll-into-view). Please describe *exactly* what you
are attempting...
- Previous message: Edson: "window.print()"
- In reply to: Raul Pires: "Re: Scroll to selected item in select listbox"
- Next in thread: Roland Hall: "Re: Scroll to selected item in select listbox"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|