2 Replies Latest reply: Jan 4, 2005 11:22 AM by 807596 RSS

    Javascript help - scrolling table entries

    807596
      Hello,

      I am very much an amateur at web building, and try to learn through other people's sites. However, I can't seem to be able to figure out how to add my next feature to my site. If anyone could help, I would be very greatful.

      Here is what I am trying to do:

      I have a fantasy golf website where I list the players' names in 10 different brackets (columns of a table). In brackets 1 - 9, I list 8 names in each. In the 10th bracket I want to be able to have say 80 names, but only show 8 at a time. To do this, I wanted someone to be able to use an up and down arrow on the page to scroll through the names.

      Here is what I have so far:

      http://flbr.buildtolearn.net/testbrackets2004.html

      There are a few problems with my code:

      1. I get a stack overflow error upon loading the page.

      2. The 8 names in bracket 10 are supposed to show upon loading the page, and don't until the mouse is moved to over one of the arrows.

      3. On a mouseover event, the names only move up by one. I wanted to be able to scroll through the names (at some determined speed) as long as the mouse is over the arrow.

      If anyone has ideas as to how I can solve any of these problems, I would be eager to hear them. Thanks in advance.

      P.S. I tried to mess around with things on a different page (http://flbr.buildtolearn.net/test01.html) and have managed to eliminate my first two problems, but still have the third.

      kjzoo