All Projects → amendoa → fullPageScrollPureJS

amendoa / fullPageScrollPureJS

Licence: MIT License
Full page scroll without Jquery

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to fullPageScrollPureJS

mm-components
Music Markups components
Stars: ✭ 50 (-15.25%)
Mutual labels:  vanilla-js
drawer
A touch-enabled drawer component for the modern web.
Stars: ✭ 26 (-55.93%)
Mutual labels:  vanilla-js
tabbis.js
Pure vanilla javascript tabs with nesting
Stars: ✭ 44 (-25.42%)
Mutual labels:  vanilla-js
paginas-acessiveis
Exemplo de páginas HTML acessíveis, construídas em HTML, CSS e JS puro, demostrando vários componentes interativos construídos de forma inclusiva.
Stars: ✭ 63 (+6.78%)
Mutual labels:  vanilla-js
tablist
WAI-ARIA tab plugin without dependencies.
Stars: ✭ 21 (-64.41%)
Mutual labels:  vanilla-js
bs-breakpoints
A plugin which detect Bootstrap 4 breakpoints and emit when there is a change
Stars: ✭ 22 (-62.71%)
Mutual labels:  vanilla-js
reinvented-color-wheel
A vanilla-js touch-friendly HSV color picker inspired by Farbtastic Color Picker.
Stars: ✭ 43 (-27.12%)
Mutual labels:  vanilla-js
cwco
Powerful and Fast Web Component Library with a Simple API
Stars: ✭ 27 (-54.24%)
Mutual labels:  vanilla-js
periodic-table.io
periodic-table.io
Stars: ✭ 37 (-37.29%)
Mutual labels:  vanilla-js
trail
An image with a mouse trail in pure JS.
Stars: ✭ 14 (-76.27%)
Mutual labels:  vanilla-js
flex-splitter-directive
Dead simple panes splitter control based on flexbox. JS + CSS < 1kB (gzipped) with no dependencies.
Stars: ✭ 19 (-67.8%)
Mutual labels:  vanilla-js
TypePicker
A date picker use in web and react-native
Stars: ✭ 14 (-76.27%)
Mutual labels:  vanilla-js
Materialstartpage
Save your favorite sites with stylish using Local Storage
Stars: ✭ 12 (-79.66%)
Mutual labels:  vanilla-js
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (+16.95%)
Mutual labels:  vanilla-js
spider-covid-19-viz-3d
Speedy access to the latest, local COVID-19 data with a familiar interface: the Globe
Stars: ✭ 19 (-67.8%)
Mutual labels:  vanilla-js
handy-collapse
A pure Javascript module for accordion/collapse UI without jQuery
Stars: ✭ 23 (-61.02%)
Mutual labels:  vanilla-js
add-to-calendar-button
A convenient JavaScript snippet, which lets you create beautiful buttons, where people can add events to their calendars.
Stars: ✭ 697 (+1081.36%)
Mutual labels:  vanilla-js
vanillajs-hello
Start a VanillaJS website using WebPack in just 30 seconds: HTML,CSS,Babel,SASS,Bootstrap,Prettier,Gitpod
Stars: ✭ 24 (-59.32%)
Mutual labels:  vanilla-js
svelte-flat-ui
Flat UI Independent JS Components + English Docs =
Stars: ✭ 45 (-23.73%)
Mutual labels:  vanilla-js
vanilla-js-drawer
A dependency-free Vanilla JS drawer. No dependencies, no automation build tools.
Stars: ✭ 20 (-66.1%)
Mutual labels:  vanilla-js

Fullpage Scrolling with Vanilla JavaScript

Demo 🌎

https://fullpagescrollpurejs.surge.sh/

Usage 🔧

Download last version : fullpage.zip or fullpage.tar.gz

Import css and javascript on your main html file

<link
  rel="stylesheet"
  type="text/css"
  href="//stylesheet/full-page-scroll.min.css"
/>
<script src="//javascript/full-page-scroll.min.js"></script>

Use html sections to structure your fullpage flow

<div id="main" class="scroll-container">
  <section>Section 1</section>
  <section>Section 2</section>
  <section>Section 3</section>
</div>

Call init method with configuration object

<script type="text/javascript">
  new fullScroll({
    mainElement: "main",
    displayDots: true,
    dotsPosition: "left",
    animateTime: 0.7,
    animateFunction: "ease",
  });
</script>

Full Example 🐶

<html>
  <head>
    <title>Simple Example</title>
    <link
      rel="stylesheet"
      type="text/css"
      href="//stylesheet/full-page-scroll.min.css"
    />
  </head>
  <body>
    <div id="main" class="scroll-container">
      <section style="background-color:#DCADAD">Section 1</section>
      <section style="background-color:#555594">Section 2</section>
      <section style="background-color:#5992AD">Section 3</section>
    </div>
    <script src="//javascript/full-page-scroll.min.js"></script>
    <script type="text/javascript">
      new fullScroll({
        mainElement: "main",
        displayDots: true,
        dotsPosition: "left",
        animateTime: 0.7,
        animateFunction: "ease",
      });
    </script>
  </body>
</html>

Props

Name Desc Example
mainElement container id main
displayDots display dots navigation true
dotsPosition dots navigation position "right"
animateTime time to complete scroll animation 0.7
animateFunction css transition function "ease"

Commands

Name Desc
yarn install install dependencies
gulp start development server
gulp build create production build

Made with ❤️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].