Controlling scroll to walk through sections of the site [closed]

1

I have a website with sections .. I'm trying to make the scroll jump to the next section and so on .. Thank you in advance!

    
asked by anonymous 25.10.2016 / 23:32

1 answer

1

There are lots of plugins that do this for you, I recommend using fullPage.js . To use, just use the following code:

<div id="fullpage">
  <div class="section">Some section</div>
  <div class="section">Some section</div>
  <div class="section">Some section</div>
  <div class="section">Some section</div>
</div>

In your javascript just use:

$(document).ready(function() {
  $('#fullpage').fullpage();
});
    
26.10.2016 / 01:14