Skip to content

Bootstrap 4 multilevel dropdown navbar (multilevel menu) on hover

License

Notifications You must be signed in to change notification settings

newyearsoft/bootnavbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BootNavbar

license

Table of contents:

Introduction

Bootstrap 4 Responsive Navbar with Multi-level Dropdowns
This is a fully responsive multilevel dropdown (Treeview menu) navbar opened on hover.

Preview

Multi level hover dropdown Navbar for bootstrap 4

BootNavbar Demo

View Demo

Requirement

jQuery
boostrap 4
animated.css

Download

Download source

BootNavbar CDN

css

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kmlpandey77/bootnavbar/css/bootnavbar.css">

js

<script src="https://cdn.jsdelivr.net/gh/kmlpandey77/bootnavbar/js/bootnavbar.js"></script>

How to use

To use BootNavbar on your website, simply drop the stylesheet into your document's <head>.

<head>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="css/bootnavbar.css">
</head>

And, simply drop the JS into your document's <body>.

<body>
	  ...
	  ...
	
	  <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/bootnavbar.js" ></script>
    <script>
        $(function () {
            $('#bootnavbar').bootnavbar({
              //options

              //animation: false

            });
        })
    </script>
<body>

And, HTML.

<nav class="navbar navbar-expand-lg navbar-light bg-light" id="bootnavbar">
  ...
  ...
</nav>

Options

animation

Type: Boolean

Default: true

Enable/Disable animation effect

animateIn

Type: String

Default: 'fadeIn'

Value: 'slideInUp','zoomIn'

View more option in animate.css

About

Bootstrap 4 multilevel dropdown navbar (multilevel menu) on hover

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 78.0%
  • JavaScript 16.7%
  • CSS 5.3%