html scroll help

Out of context: Reply #2

  • Started
  • Last post
  • 5 Responses
  • n_m0

    with any type of html animation, you're goal is to animate a little, then do it again. its the only way you have control. so something like (and this is off the top of my head so it probably won't work, but the theory is right):

    function scrollIt(){
    window.scrollBy(0,2)
    setTimeout("scrollIt()",500)
    }

    that type of thing. this would be on an onmouseover, or you'd also have to run a check evertime that you called the function (if y < 500 do the rest).

    however, you could always just go somewhere like:

    http://www.dynamicdrive.com/dyna…

    good luck

View thread