문제

I have a program at jsfiddle.net, which uses the webtoolkit jquery plugin to make a table be scrollable. It works for IE and FF, but not Chrome. I'm not worried about it not working in Chrome. My problem is that I'm giving the user the ability to use their arrow keys to move to the selected cell.

Q: How do I scroll the table if the user presses the down arrow key too many times?

도움이 되었습니까?

해결책

The scrollable thing in Chrome is a problem with the plugin and not something you can fix. However the way you are scrolling when the arrow keys are pressed is undesirable. You should only scroll the table if the selected cell is in some way obfuscated. For example is you go one cell below the visible area.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top