---
title: "how to create left navigation menu in html using jQuery and bootstrap"  
description: "A jQuery plugin for creating a Bootstrap style vertical nav menu which allows you to expand/collapse menu categories with smooth slide effects."  
author: "Anonymous User"  
published: 2018-06-02  
updated: 2019-09-07  
canonical: https://www.mindstick.com/articles/12931/how-to-create-left-navigation-menu-in-html-using-jquery-and-bootstrap  
category: "jquery"  
tags: ["jquery", "bootstrap"]  
reading_time: 2 minutes  

---

# how to create left navigation menu in html using jQuery and bootstrap

## [Introduction](https://www.mindstick.com/blog/359/iphone-development-introduction):

In this [article](https://yourviews.mindstick.com/view/84667/how-congress-government-misused-the-article-356), we are going to [explain](https://answers.mindstick.com/qa/43852/what-is-shadowing-in-java-explain-with-example) what is **bs_leftnavi.js jQuery [plugin](https://www.mindstick.com/articles/23236/institute-management-for-wordpress-plugin)** or how to [design](https://yourviews.mindstick.com/view/81916/wikipedia-desktop-version-gets-new-design) [vertical](https://www.mindstick.com/forum/12951/how-to-fix-bootstrap-tab-vertical-with-text) nav menu which allows you to expand/collapse menu [categories](https://answers.mindstick.com/qa/47601/what-are-the-categories-of-stations-for-provision-of-passenger-amenities-explain-them) with smooth slide effects with an example.

## Description:

This is a very small jQuery plugin for creating a [Bootstrap](https://www.mindstick.com/forum/2473/bootstrap-popover-not-working) style vertical nav menu which allows you to expand/collapse menu categories with smooth slide effects.

**Click here to [download](https://www.mindstick.com/blog/114673/download-hungry-shark-evolution-mod-apk-unlimited-money) it.**

## Example:

```
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>

    <script src="/Scripts/jquery-3.3.1.js"></script>
     <link href="/Content/bootstrap.css" rel="stylesheet" />
    <script src="/Scripts/bootstrap.js"></script>
     <script src="bs_leftnavi.js"></script>
    <link href="bs_leftnavi.css" rel="stylesheet" />
</head>
<body>
<div class="gw-sidebar">
  <div id="gw-sidebar" class="gw-sidebar">
    <div class="nano-content">
      <ul class="gw-nav gw-nav-list">
        <li class="init-un-active"> <a href="javascript:void(0)">
            <span class="gw-menu-text"><b> NavigationMenu</b></span></a> </li>
        <li class="init-arrow-down"> <a href="javascript:void(0)">
            <span class="gw-menu-text">Category 1</span> <b class="gw-arrow"></b> </a>
          <ul class="gw-submenu">
            <li> <a href="javascript:void(0)">Menu 1</a> </li>
          </ul>
        </li>
        <li class="init-arrow-down"> <a href="javascript:void(0)">
            <span class="gw-menu-text">Category 2</span>
            <b class="gw-arrow icon-arrow-up8"></b> </a>
          <ul class="gw-submenu">
            <li> <a href="javascript:void(0)">Menu 1</a> </li>
            <li> <a href="javascript:void(0)">Menu 2</a> </li>
            <li> <a href="javascript:void(0)">Menu 3</a> </li>
          </ul>
        </li>
        <li class="init-arrow-down"> <a href="javascript:void(0)">
             <span class="gw-menu-text">Category 3</span> <b></b> </a>
          <ul class="gw-submenu">
            <li> <a href="javascript:void(0)">Menu 1</a> </li>
            <li> <a href="javascript:void(0)">Menu 2</a> </li>
            <li> <a href="javascript:void(0)">Menu 3</a> </li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</div>
</body>
</html>
```

## [Output](https://www.mindstick.com/interview/34427/explain-the-output-in-angular):

![how to create left navigation menu in html using jQuery and bootstrap](https://www.mindstick.com/mindstickarticle/94e0f1f0-6b6d-40f6-ae75-ced97b7d0b48/images/010794ac-60bc-4e6d-8ab3-0493da452121.png)**\**

I hope this article will help to you.

\

---

Original Source: https://www.mindstick.com/articles/12931/how-to-create-left-navigation-menu-in-html-using-jquery-and-bootstrap

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
