Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Scrollable table - scroll a cell into view


  • From: Conleyj at kubota-kma.com (James Conley)
  • Subject: [Javascript] Scrollable table - scroll a cell into view
  • Date: Tue May 30 09:56:20 2006

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