Flat jQuery Side Bar Menu

Language
Related work: How To Make Simple SideBar Menu Using HTML JavaScript In this tutorial, we are going to learn another kind of flat sidebar menu using the power of jQuery with a simple CSS. This work, by the using of jQuery, you can easily create a functional flat menu design. You can easily indicate the menu items numbers displayed with their parent menu item. For the design, with the help of CSS, you can absolutely customize it easily, or you can add more animation anything you want. It depends on you on how you work this and simply match to your website.

Directions:

First: Kindly copy the following code below to the HEAD section of your page.
  1.    <meta charset='utf-8'>
  2.    <meta http-equiv="X-UA-Compatible" content="IE=edge">
  3.    <meta name="viewport" content="width=device-width, initial-scale=1">
  4.    <link rel="stylesheet" href="styles.css">
  5.    <script src="func.js" type="text/javascript"></script>
  6.    <script src="script.js"></script>
  7.    <title>jQuery Side Bar Menu</title>
*For the external files needed. (Just click "Download Code" below) Second: Add the code below to your BODY section of the page.
  1. <div id='sidebar_menu'>
  2. <ul>
  3.    <li class='active'><a href='#'><span>Sourcecodester</span></a></li>
  4.    <li class='has-sub'><a href='#'><span>Programming</span></a>
  5.       <ul>
  6.          <li><a href='#'><span>Programming 1</span></a></li>
  7.          <li><a href='#'><span>Programming 2</span></a></li>
  8.          <li><a href='#'><span>Programming 3</span></a></li>
  9.          <li><a href='#'><span>Programming 4</span></a></li>
  10.          <li><a href='#'><span>Programming 5</span></a></li>
  11.          <li class='last'><a href='#'><span>Programming 6</span></a></li>
  12.       </ul>
  13.    </li>
  14.    <li class='has-sub'><a href='#'><span>Others</span></a>
  15.       <ul>
  16.          <li><a href='#'><span>Mobile</span></a></li>
  17.          <li><a href='#'><span>Blog</span></a></li>
  18.          <li><a href='#'><span>Articles</span></a></li>
  19.          <li class='last'><a href='#'><span>Tutorials</span></a></li>
  20.       </ul>
  21.    </li>
  22.    <li class='last'><a href='#'><span>About</span></a></li>
  23. </ul>
  24. </div>
So what can you say about this work? Share your thoughts in the comment section below and also, don’t forget to like this page. Thank you.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

How do I make it so that, when selecting an option, I see another page, but the sidebar is visible?

Add new comment