Coder Social home page Coder Social logo

manfwh / corenav Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adamnurdin01/corenav

0.0 1.0 0.0 222 KB

coreNavigation is a multi purpose navigation menu for javascript library based on jquery, come with more style and easy to combination.

Home Page: https://corenav.com/index.html

License: MIT License

CSS 29.82% HTML 70.18%

corenav's Introduction

Corenav

coreNavigation is a multi purpose navigation menu for javascript library based on jquery, come with more style and easy to combination.

  • 11 Default Menu
  • 2 Responsive Navigation
  • 7 Event Menu
  • 6 Attributes Header
  • 3 Mode Menu Position
  • 9 Layout Navigation
  • More Themes & Custom

Demo : http://corenav.com

Browser Support

Instalations

Install from NPM Make sure to install jQuery NPM & css-loader for import 'corenav/coreNavigation.css'

npm i corenav --save
import 'corenav/coreNavigation.css';
import 'corenav';

Install from static Include coreNavigation assets CSS & Javascript

<link rel="stylesheet" href="./css/coreNavigation.css" />
<script type="text/javascript" src="./js/coreNavigation.js"></script>

Create coreNavigation code & options

<nav hidden>
    <div class="nav-header">
        <a href="#" class="brand">
            <img src="./assets/img/brand.png" />
        </a>
        <button class="toggle-bar">
            <span class="fa fa-bars"></span>
        </button>	
    </div>								
    <ul class="menu">
        <li><a href="#">Home</a></li>
        <li><a href="#">About</a></li>
        <li><a href="#">Service</a></li>
        <li><a href="#">Contact Us</a></li>
    </ul>
</nav>
<script type="text/javascript"> 
$('nav').coreNavigation({
    onInit: function(){
        console.log('Init coreNav');
    }
});
</script>

Options

Setting Default Description
layout default String value for layout coreNavigation : default, brand-center, fullscreen, sidebar, sidebar-toggle, section, side-icon
menuFullWidth false true or false
menuPosition left String value for menu position: left, right, center, bottom
container true true or false
toggleHoverSidebar false true or false (Only for "side-icon" layout mode)
responsideSlide false true or false
dropdownEvent hover String value for dropdown event : click, hover, accordion
mode default String value for dropdown event : default, fixed, sticky
animated false true or false
animatedIn bounceIn Visit for more animates: https://daneden.github.io/animate.css/
animatedOut bounceOut Visit for more animates: https://daneden.github.io/animate.css/
onInit Initial function on init
onResize On Resize windows Callback function
onOpenDropdown Callback event open dropdown
onCloseDropdown Callback event close dropdown
onOpenMegaMenu Callback event open megamenu
onCloseMegaMenu Callback event close megamenu
onStartSticky Callback event start sticky mode
onEndSticky Callback event end sticky mode

Logs

  • 13 August 2018 V.1.1.2
  1. Fix bug event onresize
  • 08 August 2018 V.1.1.2
  1. Fix bug attributes fullwidth & container
  • 05 August 2018 V.1.1.1
  1. Fix bug attributes on sidebar mode
  • 04 August 2018 V.1.1.0
  1. On Resize Callback
  2. Default bottom left icon attributes
  3. Default bottom left icon attributes & content
  • 14 July 2018 V.1.0.2
  1. Animation style for dropdown & megamenu
  • 12 July 2018 V.1.0.1
  1. Attributes feature on sidebar menu
  • 25 Juni 2018 V.1.0.0
  1. Initilize release

corenav's People

Contributors

adamnurdin01 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.