Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript help - scrolling table entries

    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

  • #2
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Through just fooling around on my own, I think I have managed to code my webpage so that it works the way I wanted it to. If anyone has any suggestions to improve, or comments regarding why it might not work on certain browsers or whatever, I'd love to hear.

    You can check out my page at:

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •