Pageination.js

Simple, free, single-page websites.

new pageination("#elem")

Create this page with 12 lines.

<main id="elem">
<section class="Page1">
Page1
</section>
<section class="Page2">
Page2
</section>
<section class="Page3">
Page3
</section>
</main>

new pageination("#elem")