All Projects → Superhands89 → EasyScrollDots

Superhands89 / EasyScrollDots

Licence: GPL-3.0 license
Single page scroll JavaScript plugin that allows for vertical navigation of page sections

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to EasyScrollDots

Gumshoe
A simple vanilla JS scrollspy script.
Stars: ✭ 640 (+1584.21%)
Mutual labels:  navigation, scrolling
scrollRulerView
请使用 CYRuler (Please use CYRuler)
Stars: ✭ 31 (-18.42%)
Mutual labels:  scroll, scroller
Priority Nav Scroller
Priority Nav Scroller is a plugin for the priority+ navigation pattern.
Stars: ✭ 198 (+421.05%)
Mutual labels:  navigation, scrolling
really-smooth-scroll
A script that smoothen scrolling in the browser
Stars: ✭ 21 (-44.74%)
Mutual labels:  scrolling, scroll
angular-scrollspy
A simple lightweight library for Angular which automatically updates links to indicate the currently active section in the viewport
Stars: ✭ 34 (-10.53%)
Mutual labels:  navigation, scrolling
Navigation Toolbar
Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion
Stars: ✭ 587 (+1444.74%)
Mutual labels:  navigation, scroll
react-is-scrolling
Simply detect if users are scrolling in your components in a declarative API
Stars: ✭ 17 (-55.26%)
Mutual labels:  scrolling, scroll
Moveto
A lightweight scroll animation javascript library without any dependency
Stars: ✭ 2,746 (+7126.32%)
Mutual labels:  scrolling, scroll
onscroll-effect
A tiny JavaScript library to enable CSS animations when user scrolls.
Stars: ✭ 35 (-7.89%)
Mutual labels:  scrolling, scroll
react-scroll-trigger
📜 React component that monitors scroll events to trigger callbacks when it enters, exits and progresses through the viewport. All callback include the progress and velocity of the scrolling, in the event you want to manipulate stuff based on those values.
Stars: ✭ 126 (+231.58%)
Mutual labels:  scrolling, scroll
Tlyshynavbar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
Stars: ✭ 3,780 (+9847.37%)
Mutual labels:  navigation, scrolling
react-smart-scroll
Efficient rendering of long lists in React
Stars: ✭ 27 (-28.95%)
Mutual labels:  scrolling, scroll
React Horizontal Scrolling Menu
Horizontal scrolling menu component for React.
Stars: ✭ 289 (+660.53%)
Mutual labels:  navigation, scroll
Jquery.localscroll
Animated anchor navigation made easy with jQuery
Stars: ✭ 624 (+1542.11%)
Mutual labels:  navigation, scrolling
Wrnavigationbar
超简单!!! 一行代码设置状态栏、导航栏按钮、标题、颜色、透明度,移动等 WRNavigationBar which allows you to change NavigationBar's appearance dynamically
Stars: ✭ 2,923 (+7592.11%)
Mutual labels:  navigation, scroll
Vanilla Back To Top
Simple and smooth Back To Top button
Stars: ✭ 179 (+371.05%)
Mutual labels:  vanilla, scroll
Stickyfill
Polyfill for CSS `position: sticky`
Stars: ✭ 2,252 (+5826.32%)
Mutual labels:  scrolling, scroll
V Bar
The virtual responsive crossbrowser scrollbar component for VueJS 2x
Stars: ✭ 216 (+468.42%)
Mutual labels:  scrolling, scroll
scroll-sync-react
A scroll syncing library for react that is up to date
Stars: ✭ 49 (+28.95%)
Mutual labels:  scrolling, scroll
NoobScroll
A lightweight jQuery Plugin that add some cool function to make scrolling more fun [Archive]
Stars: ✭ 43 (+13.16%)
Mutual labels:  scrolling, scroll

Easy Scroll Dots :

Single page scroll JavaScript plugin

Quickly add anchor points throughout your web page/application and have vertical navigational dots automatically appear in a fixed position on the side of the page. This allows the user to click to scroll though sections of the page, and it updates as they scroll.

Unlike some other plugins, Easy Scroll Dots does NOT require your web site or application to have a full page or full width slide design. Simply add your anchor points to any sections within your HTML and Easy Scroll Dots will do the rest.

Easy Scroll Dots Representation

Browser/OS Support

  • Windows/Mac: Chrome FF Edge IE 11 Opera
  • Android/IOS: Chrome FF Safari

Note: Easy Scroll Dots is vanilla and has no dependencies in order to work on latest Edge, Chrome, Firefox and Safari.

Installation

Including Files

Download the lastest release and find the files in the dist folder.

<!-- CSS for Easy Scroll Dots -->
<link rel="stylesheet" type="text/css" href="easyScrollDots.min.css" />

<!-- JS for Easy Scroll Dots -->
<script type="text/javascript" src="easyScrollDots.min.js"></script>

Reference the CSS file within your head tag, and reference the JS file before the closing body tag. Update the paths depending on where you add the files within your project.

Usage

Add your anchor points

Add the following attribute to the outer element of each section that should have a dot associated with it...

data-scroll-indicator-title="Hello World"

e.g.

<div data-scroll-indicator-title="Hello World">
  Content in my section lorem ipsum dolor...
</div>

Update "Hello World" to represent the title for that section of the page.

Initialise

Add the following function call somewhere in your javaScript AFTER the easyScrollDots.min.js file has been loaded...

easyScrollDots({
  'fixedNav': false,
  'fixedNavId': '',
  'fixedNavUpward': false,
  'offset': 0
});

Options

Some sites have a fixed or sticky top navigation bar which gets in the way when easyScrollDots scrolls the browser window to the top of each section. Therefore you have to tell easyScrollDots if you have a fixed nav, and if so, you also need to provide the id of the navigation bar. You can also tell easyScrollDots if your fixed nav only appears when the user is scrolling upward. Finally, you can set an offset amount in order to adjust where the browser scrolls to when a dot is clicked.

easyScrollDots({
  'fixedNav': true, // Set to true if you have a fixed nav.
  'fixedNavId': 'myNav', // Set to the id of your navigation element if 'fixedNav' is true (easyScrollDots will measure the height of the element).
  'fixedNavUpward': true, // Set to true if your nav is only sticky when the user is scrolling up (requires 'fixedNav' to be true and 'fixedNavId' to be a value).
  'offset': 30 // Set to the amount of pixels you wish to offset the scroll amount by (any positive number).
});

Assumptions & Prerequisites

It is assumed that your application has a body tag. (easyScrollDots appends itself to the end of the body)

Demo

See a working demo:

DEMO

Commercial License

To use easyScrollDots on commercial projects, a commercial license is required...

Single Commercial License

This license grants you to use easyScrollDots for one project, for yourself or for one client, and for commercial use. Purchase a one-off single commercial license here. ($25 exc. VAT - Includes free support)

Extended Commercial License

This license grants you to use easyScrollDots for an unlimited amount of projects for commercial use. Purchase a one-off extended commercial license here. ($79 exc. VAT - Includes free support)

Open Source License

If your application is open source and under a GNU GPL v3 compatible license, then you can use easyScrollDots without a commercial license.

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].