The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Moving the content downward on scrolling

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #270992

    Hi I’m trying to achieve the effect of a rocket launching into the space
    I’ve set my markup and styled it accordingly (you can see it in the codepen link).
    But as I scroll down the content scrolls up. I want the content to move down as I scroll
    I’ve looked at jQuery’s library and came across ScrollTop() and other functions but i did not understand it quite well as there were no clear examples

    Please help me out
    Thank you in advance

    (Also if you can please explain the code if possible, that would be really helpful :) )


    Take a look at this:

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.