• We just launched and are currently in beta. Join us as we build and grow the community.

Flat jQuery Side Bar Menu

jailbroken

Communication Encryption Auditor
J Rep
0
0
0
Rep
0
J Vouches
0
0
0
Vouches
0
Posts
136
Likes
122
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 200 XP
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.


Download
You must upgrade your account or reply in the thread to view hidden text.
 

452,292

323,341

323,350

Top