Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Scrollable table - scroll a cell into view
- From: javascript at mattbarton.org (Matt Barton)
- Subject: [Javascript] Scrollable table - scroll a cell into view
- Date: Tue May 30 09:59:31 2006
element.scrollIntoView ([showAtTop]); Where showAtTop is an optional boolean - true means that the element will be displayed at the top of the viewable area, false at the bottom. Matt. James Conley wrote: > If I have a scrollable HTML table with X columns and Y rows > [overflow:auto] how can I "scroll" a particular cell into the visible > portion of the screen? > > Will calling .focus() on an TABLE cell bring it into visible portion of > the screen? > Or do I want to set the scroll position via ScrollTop/ScrollLeft? What > would I set it to? > Would setting the table's ScrollLeft property to the value of the cell's > ScrollLeft do the trick? > > james > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript >
- References:
- [Javascript] Scrollable table - scroll a cell into view
- From: James Conley
- [Javascript] Scrollable table - scroll a cell into view
- Prev by Date: [Javascript] Scrollable table - scroll a cell into view
- Next by Date: [Javascript] How to do toolbar tabs like this ??
- Previous by thread: [Javascript] Scrollable table - scroll a cell into view
- Next by thread: [Javascript] CSS question , please
- Index(es):