Jump to content
Search Community

rbkhrlstn

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by rbkhrlstn

  1. In several questions about smooth scrolling, there is a link to this project on codepen (). It is amazing and awesome and just what I had spent weeks looking for. I, however, am new to javascript and would like to be able to have more than one scroll-container on the page. It would be a scroll-container, a normal section, and then another scroll container. I imagine I need to do a loop or reset, but I don't know how to do it correctly. It would be "for each .scroll-container, do the magic."

     

    Here is the site I'm trying to do this on (http://detroitdough.flywheelstaging.com/). It would be the two sections with the "dough" in them. I have the first one working but can't figure out how to loop the second one in.

    See the Pen QqPqbN by osublake (@osublake) on CodePen

×
×
  • Create New...