Have scrollbar adjust itself depending on where current element of focus is located
Posted on 2003-12-11
I have a table that overflows off the screen, which produces the scrollbar to view the remaining portion of the table.
Problem is that once I start tabing or using the right arrow to go next cell on the right the scrollbar only moves a tad, and I can sometimes not see what I'm focused on and have to move the scrollbar manually.
Is there something I can use that will move the placement of the scrollbar to the right depending on the offsetWidth of the cell in focus? Or plain and simply a way that will have the scrollbar monitor whatever element is in focus and adjust accordingly?? seems to get screwy because of the overflow.