Skip to content
/ DotNav Public

This module allows the user to quickly navigate through your page by dot navigation.

License

Notifications You must be signed in to change notification settings

DooMxDD/DotNav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotNav

This module allows the user to quickly navigate through your page by dot navigation.


Usage

  1. Add "js-dot-nav" class to all the sections you want to navigate to
  2. Every section must have id parameter
  3. (Optional) Specify dot-nav-title attribute on the sections to show title on hover

Example:

<!-- Example of sections: -->
<section id="section1" class="js-dot-nav" dot-nav-title="Title 1">
</section>

<section id="section2" class="js-dot-nav" dot-nav-title="Title 2">
</section>

etc..

This is my first npm package, so if something doesn't work, please let me know :)

About

This module allows the user to quickly navigate through your page by dot navigation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published