File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Scroll Rows of a Table One at a Time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

Scroll Rows of a Table One at a Time

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I have been struggling to use keyboard keys to scroll rows of a table up or down one at a time (I have a vertical scrollbar at right hand side of a table.)

I first highlight the first row of the table when the page is loaded. It is working now.

Then, I tried to work out some JavaScript code to move the highlighter up or down by pressing the keyboard up arrow key or down arrow key. The code is not working. Would someone kindly take a look at the code:

[ July 02, 2007: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61418
    
  67

Please continue any discussion in the original post on this topic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scroll Rows of a Table One at a Time