Results 1 to 3 of 3

Thread: Scrollable content II *up* button doesn't work!

  1. #1
    Join Date
    Dec 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrollable content II *up* button doesn't work!

    alright, here's my test page (copy/paste please)-->
    removed

    why does the *up* button not work?

    (please view source to see the code.)

    TIA!
    Last edited by rockrockon; 12-08-2005 at 10:58 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    First off, this is wrong:

    Code:
    <body onload="()">
    It should be just:

    Code:
    <body>
    I don't think that is the trouble though it may be a part of it. In any case, the red part looks like it is left over from something you only removed a part of.

    Here's the real problem:

    Code:
    function moveup(){
    if (iens6&(crossobj.style.top)<=0)
    crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
    else if (ns4&&crossobj.top<=0)
    crossobj.top+=speed
    moveupvar=setTimeout("moveup()",20)
    
    }
    I don't know how it got that way but the red line is different than on the demo where it is:

    Code:
    if (iens6&&parseInt(crossobj.style.top)<=0)
    Change it back and up will work.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you jscheuer1 for your help! that fixed it!

Bookmarks

Posting Permissions

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