|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 5 | + <meta charset="UTF-8" /> |
| 6 | + <title> jQuery Responsive jSide Menu with Dropdowns - Plugin by Asif Mughal </title> |
| 7 | + <meta name="description" content="jSide Menu is a free jQuery menu plugin that helps you create side vertical navigation menu with dropdowns, fully responsive and customizable." /> |
| 8 | + |
| 9 | +<!--Google Fonts--> |
| 10 | +<link href="https://fonts.googleapis.com/css?family=Hind|Oxygen" rel="stylesheet" /> |
| 11 | + <!--jQuery--> |
| 12 | +<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> |
| 13 | + <!--Material Design Iconic Font--> |
| 14 | +<link rel="stylesheet" href="material-design/css/material-design-iconic-font.css" /> |
| 15 | + |
| 16 | + <!--jSide Menu Plugin--> |
| 17 | +<script src="js/jquery.jside.menu.js"></script> |
| 18 | + <!--jSide Menu CSS--> |
| 19 | +<link rel="stylesheet" href="css/jside-menu.css" /> |
| 20 | + <!--jSide Skins--> |
| 21 | +<link rel="stylesheet" href="css/jside-skins.css" /> |
| 22 | + |
| 23 | +<script> |
| 24 | +$(document).ready(function(){ |
| 25 | + |
| 26 | +$(".menu-container").jSideMenu({ |
| 27 | + jSidePosition: "position-left", //possible options position-left or position-right |
| 28 | + |
| 29 | + jSideSticky: true, // menubar will be fixed on top, false to set static |
| 30 | + |
| 31 | + jSideSkin: "default-skin", // to apply custom skin, just put its name in this string |
| 32 | + }); |
| 33 | +}); |
| 34 | +</script> |
| 35 | + |
| 36 | +</head> |
| 37 | +<body> |
| 38 | + |
| 39 | +<menu class="menubar"> |
| 40 | + <menuitem> |
| 41 | + <button class="menu-trigger"> </button> |
| 42 | + </menuitem> |
| 43 | + |
| 44 | + <menuitem class="logo" title="Your Logo Goes Here"> |
| 45 | + <a href="#1"><img src="image/jside-menu.png" alt="jSide Menu" /> </a> |
| 46 | + </menuitem> |
| 47 | +</menu> |
| 48 | + |
| 49 | + |
| 50 | +<div class="menu-head"> |
| 51 | + <span class="layer"> |
| 52 | +<div class="col"> |
| 53 | + <div class="row for-pic"> |
| 54 | + <div class="profile-pic"> |
| 55 | + <img src="image/asif-mughal.jpg" alt="Asif Mughal" /> |
| 56 | + </div> |
| 57 | + </div> |
| 58 | + <div class="row for-name"> |
| 59 | + <h3 title="User Name"> Asif Mughal </h3> |
| 60 | + <span class="tagline"> Tagline text goes here</span> |
| 61 | + </div> |
| 62 | + </div> <!--//col--> |
| 63 | + </span> |
| 64 | +</div> <!--//menu-head--> |
| 65 | + |
| 66 | +<nav class="menu-container"> |
| 67 | + |
| 68 | +<ul class="menu-items"> |
| 69 | +<li><span class="item-icon"><i class="zmdi zmdi-android"></i></span> <a href="#1"> |
| 70 | + Main item one </a></li> |
| 71 | + |
| 72 | +<li> <span class="item-icon"> <i class="zmdi zmdi-apple"></i> </span> <a href="#1"> |
| 73 | + Main item two </a></li> |
| 74 | + |
| 75 | +<li class="has-sub"> <span class="item-icon"> <i class="zmdi zmdi-windows"></i> </span> |
| 76 | +<span class="dropdown-heading"> |
| 77 | + Item three with dropdown </span> |
| 78 | + <ul> |
| 79 | + <li> <a href="#2">dropdown sub item 1 </a> </li> |
| 80 | + <li> <a href="#2"> dropdown sub item 2 </a> </li> |
| 81 | + <li> <a href="#2"> dropdown sub item 3 </a> </li> |
| 82 | + <li> <a href="#2"> dropdown sub item 4 </a> </li> |
| 83 | + <li> <a href="#2"> dropdown sub item 5 </a> </li> |
| 84 | +<li> <a href="#2"> dropdown sub item 6 </a> </li> |
| 85 | +<li> <a href="#2"> dropdown sub item 7 </a> </li> |
| 86 | + </ul> |
| 87 | + </li> |
| 88 | +<li class="has-sub"> <span class="item-icon"> <i class="zmdi zmdi-devices"></i> </span> |
| 89 | + <span class="dropdown-heading"> |
| 90 | + |
| 91 | + Item four with dropdown </span> |
| 92 | + <ul> |
| 93 | + <li> <a href="#2">sub item 1 </a> </li> |
| 94 | + <li> <a href="#2">sub item 2 </a> </li> |
| 95 | + <li> <a href="#2">sub item 3 </a> </li> |
| 96 | + <li> <a href="#2">sub item 4 </a> </li> |
| 97 | + </ul> |
| 98 | + </li> |
| 99 | + |
| 100 | +<li> <span class="item-icon"> <i class="zmdi zmdi-keyboard"></i> </span> <a href="#1"> |
| 101 | + Main item four </a></li> |
| 102 | + |
| 103 | +<li> <span class="item-icon"> <i class="zmdi zmdi-dock"></i> </span> <a href="#1"> |
| 104 | + Main item five </a></li> |
| 105 | + |
| 106 | +<li> <span class="item-icon"> <i class="zmdi zmdi-mouse"></i> </span> <a href="#1"> |
| 107 | + Main item five </a></li> |
| 108 | + |
| 109 | +<li> <span class="item-icon"> <i class="zmdi zmdi-tv"></i> </span> <a href="#1"> |
| 110 | + Main item six </a></li> |
| 111 | + |
| 112 | +</ul> |
| 113 | + |
| 114 | + |
| 115 | +</nav> |
| 116 | +<div class="dim-overlay"></div> |
| 117 | + |
| 118 | +<!--End jSide Menu--> |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | +<!--Introduction and Demo Only --> |
| 124 | +<header class="intro"> |
| 125 | + <h1>jQuery Responsive jSide Menu with Dropdowns</h1> |
| 126 | + <p> |
| 127 | + jSide Menu is a well designed, simple and clean side navigation menu with dropdowns. |
| 128 | + <br /> |
| 129 | + <br /> |
| 130 | +<b> Written in:</b><i> HTML, CSS, JS</i><br> |
| 131 | + <b> Frameworks: </b> <i> jQuery 3.3.1 & Material-Design-Iconic-Font 2.0 </i> |
| 132 | + </p> |
| 133 | +<div class="action"> |
| 134 | +<a class="btn github" href="https://github.com/CodeHimBlog/jquery-jside-menu"> Fork on GiHub </a> |
| 135 | +<a class="btn down" href="https://github.com/CodeHimBlog/jquery-jside-menu/archive/master.zip">Download </a> |
| 136 | + |
| 137 | +</div> |
| 138 | +</header> |
| 139 | + |
| 140 | + |
| 141 | +<main> |
| 142 | +<article> |
| 143 | + |
| 144 | +<h2> Main Features </h2> |
| 145 | + <ul> |
| 146 | + <li>Fully Responsive and Customizable.</li> |
| 147 | + <li>Unlimited main items and sub items can be added. </li> |
| 148 | + <li>Sticky Profile.</li> |
| 149 | + <li> CSS3 and jQuery Animations Enabled. </li> |
| 150 | + <li>Material Design Iconic Fonts. </li> |
| 151 | + <li> Background dim-overlay when menu open </li> |
| 152 | +<li> Chrome, Safari, Firefox, Opera, IE7+, IOS, Android and windows phone supported. </li> |
| 153 | + <li> User Friendly and Easy to Implement. </li> |
| 154 | + </ul> |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | +<h2> Save Time to Quickly Customize </h2> |
| 161 | +<p> |
| 162 | +You can highly customize this navigation system without investing time in modifications of code. |
| 163 | +</p> |
| 164 | + |
| 165 | +<h3> 1. jSide Menu Skin </h3> |
| 166 | + |
| 167 | +<p> Choose the theme for the menu: </p> |
| 168 | + |
| 169 | + <div class="theme-tray"> |
| 170 | + <section class="pl-color"> |
| 171 | + <h4> Plain Color</h4> |
| 172 | + <span title="Love Red" class="red"> </span> |
| 173 | + <span title="Clover Green" class="green"> </span> |
| 174 | + <span title="Dodger Blue" class="blue"> </span> |
| 175 | + <span title="Bright Neon Pink" class="bnp"> </span> |
| 176 | + <span title="Pumpkin Orange" class="orange"> </span> |
| 177 | + <span title="Black" class="black"> </span> |
| 178 | + <span title="Neon Pink" class="pink"> </span> |
| 179 | + <span title="Golden Brown" class="gol-b"> </span> |
| 180 | + <span title="Greenish Blue" class="greenish"> </span> |
| 181 | + <span title="Wood" class="wood"> </span> |
| 182 | + </section> |
| 183 | + <!--Do not Remove The following Ad Unit if you distribute this Plugin to others--> |
| 184 | + |
| 185 | + <section class="gr-color"> |
| 186 | + <h4> Gradient Color</h4> |
| 187 | + <span title="Flickr" class="flickr"> </span> |
| 188 | + <span title="Facebook Messenger" class="fb-messenger"> </span> |
| 189 | + <span title="Moonlit Asteroid" class="moonlit"> </span> |
| 190 | + <span title="Park Life" class="park-life"> </span> |
| 191 | + <span title="Dance to Forget" class="d2f"> </span> |
| 192 | + <span title="Man of the Steel" class="steel-man"> </span> |
| 193 | + <span title="Amethyst" class="amethyst"> </span> |
| 194 | + <span title="Between the Clouds" class="between-clouds"> </span> |
| 195 | + <span title="Crazy Orange"class="crazy-orange"> </span> |
| 196 | + <span title="Endless River" class="endless-river"> </span> |
| 197 | + </section> |
| 198 | + </div> |
| 199 | + <!--//theme-tray--> |
| 200 | + |
| 201 | +<h3>2. Menubar Position</h3> |
| 202 | +<p> Choose the menubar position:</p> |
| 203 | +<ol> |
| 204 | + <li> <input type="radio" id="set-top" name="radio" checked/> Fixed on Top </li> |
| 205 | + <li> <input type="radio" name="radio" id="set-st"/> Static </li> |
| 206 | + |
| 207 | +</ol> |
| 208 | + |
| 209 | +<h3>3. Menu Container Position </h3> |
| 210 | +<p> Choose the suitable position for menu container. </p> |
| 211 | +<select class="menu-position"> |
| 212 | +<option> position-left </option> |
| 213 | +<option> position-right </option> |
| 214 | +</select> |
| 215 | + |
| 216 | +<h2>Generated Script</h2> |
| 217 | +<p> |
| 218 | +Copy and paste it into document ready function. |
| 219 | +</p> |
| 220 | + <pre class="prettyprint"> |
| 221 | +$(".menu-container").jSideMenu({ |
| 222 | + <span class="j-pos">jSidePosition: "position-left",</span> |
| 223 | + <span class="j-sticky">jSideSticky: true, </span> |
| 224 | + <span class="j-skin">jSideSkin: "default-skin", </span> |
| 225 | + }); |
| 226 | + </pre> |
| 227 | + |
| 228 | + |
| 229 | +<h2> Browsers Compatability</h2> |
| 230 | + <p>Best view on Google Chrome, Firefox, Opera and UC Desktop Browser</p> |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | +</article> |
| 235 | + |
| 236 | +</main> |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | +<!--DEMO ONLY FILES--> |
| 241 | +<!--Demo CSS--> |
| 242 | +<link rel="stylesheet" href="docs/demo-only.css" /> |
| 243 | +<script src="docs/demo-only.js"></script> |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | +<footer class="credit"> |
| 248 | +Coded with <span title="Coffee"></span> by Asif Mughal © 2018 - <a href="https://www.codehim.com" rel="dofollow" title="Awesome Web Projects and Tutorials" target="_blank"> Codehim.com </a> |
| 249 | + </footer> |
| 250 | + |
| 251 | +</body> |
| 252 | +</html> |
0 commit comments