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

Home Forums JavaScript is this scroll effect doable with less JS?!

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


    so i am trying to find out how to accomplish the scroll effect i want to use for my new webpage…

    i have it working but its quite some javascript/jquery for such a small effect

    this is what i got:

    is there a way to do this with mostly css or at least reduce the js?

    i hope this is the right forum (was not sure whether to post here or in the ccs forum)


    I’m no JS/JQ expert but you should be able to reduce all those section variables just one that applies to all sections…that would cuts out all those if/else statements.


    im not sure how to do that since all the conditions are different…

    also i was primarily looking for a way to do this with more css and less js

    i was reading up on parallax because i will try to have my content inside the sections use that but i dont think this works with the sections themselves

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