<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>jquery滑动侧边栏插件jSide</title>
<link href="https://fonts.googleapis.com/css?family=Hind|Oxygen" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="css/normalize.css" /><!--CSS RESET-->
<link rel="stylesheet" type="text/css" href="css/htmleaf-demo.css"><!--演示页面样式,使用时可以不引用-->
<!--Material Design Iconic Font-->
<link rel="stylesheet" href="material-design/css/material-design-iconic-font.css" />
<!--jSide Menu CSS-->
<link rel="stylesheet" href="css/jside-menu.css" />
<!--jSide Skins-->
<link rel="stylesheet" href="css/jside-skins.css" />
<link rel="stylesheet" href="css/demo-only.css" />
</head>
<body>
<menu class="menubar">
<menuitem>
<button class="menu-trigger"> </button>
</menuitem>
<menuitem class="logo" title="Your Logo Goes Here">
<a href="#1"><img src="image/jside-menu.png" alt="jSide Menu" /> </a>
</menuitem>
</menu>
<div class="menu-head">
<span class="layer">
<div class="col">
<div class="row for-pic">
<div class="profile-pic">
<img src="image/asif-mughal.jpg" alt="Asif Mughal" />
</div>
</div>
<div class="row for-name">
<h3 title="User Name"> Asif Mughal </h3>
<span class="tagline"> Tagline text goes here</span>
</div>
</div> <!--//col-->
</span>
</div> <!--//menu-head-->
<nav class="menu-container">
<ul class="menu-items">
<li><span class="item-icon"><i class="zmdi zmdi-android"></i></span> <a href="#1">
Main item one </a></li>
<li> <span class="item-icon"> <i class="zmdi zmdi-apple"></i> </span> <a href="#1">
Main item two </a></li>
<li class="has-sub"> <span class="item-icon"> <i class="zmdi zmdi-windows"></i> </span>
<span class="dropdown-heading">
Item three with dropdown </span>
<ul>
<li> <a href="#2">dropdown sub item 1 </a> </li>
<li> <a href="#2"> dropdown sub item 2 </a> </li>
<li> <a href="#2"> dropdown sub item 3 </a> </li>
<li> <a href="#2"> dropdown sub item 4 </a> </li>
<li> <a href="#2"> dropdown sub item 5 </a> </li>
<li> <a href="#2"> dropdown sub item 6 </a> </li>
<li> <a href="#2"> dropdown sub item 7 </a> </li>
</ul>
</li>
<li class="has-sub"> <span class="item-icon"> <i class="zmdi zmdi-devices"></i> </span>
<span class="dropdown-heading">
Item four with dropdown </span>
<ul>
<li> <a href="#2">sub item 1 </a> </li>
<li> <a href="#2">sub item 2 </a> </li>
<li> <a href="#2">sub item 3 </a> </li>
<li> <a href="#2">sub item 4 </a> </li>
</ul>
</li>
<li> <span class="item-icon"> <i class="zmdi zmdi-keyboard"></i> </span> <a href="#1">
Main item four </a></li>
<li> <span class="item-icon"> <i class="zmdi zmdi-dock"></i> </span> <a href="#1">
Main item five </a></li>
<li> <span class="item-icon"> <i class="zmdi zmdi-mouse"></i> </span> <a href="#1">
Main item five </a></li>
<li> <span class="item-icon"> <i class="zmdi zmdi-tv"></i> </span> <a href="#1">
Main item six </a></li>
</ul>
</nav>
<div class="dim-overlay"></div>
<!--End jSide Menu-->
<!--Introduction and Demo Only -->
<header class="intro">
<h1>jquery滑动侧边栏插件jSide</h1>
<div class="htmleaf-links">
<a class="htmleaf-icon icon-htmleaf-home-outline" href="http://www.jb51.net/" title="脚本之家" target="_blank"><span> 脚本之家</span></a>
<a class="htmleaf-icon icon-htmleaf-arrow-forward-outline" href="http://www.jb51.net/" title="返回下载页" target="_blank"><span> 返回下载页</span></a>
</div>
<p>
jSide Menu is a well designed, simple and clean side navigation menu with dropdowns.
<br />
<br />
<b> Written in:</b><i> HTML, CSS, JS</i><br>
<b> Frameworks: </b> <i> jQuery 3.3.1 & Material-Design-Iconic-Font 2.0 </i>
</p>
</header>
<main>
<article>
<h2> Main Features </h2>
<ul>
<li>Fully Responsive and Customizable.</li>
<li>Unlimited main items and sub items can be added. </li>
<li>Sticky Profile.</li>
<li> CSS3 and jQuery Animations Enabled. </li>
<li>Material Design Iconic Fonts. </li>
<li> Background dim-overlay when menu open </li>
<li> Chrome, Safari, Firefox, Opera, IE7+, IOS, Android and windows phone supported. </li>
<li> User Friendly and Easy to Implement. </li>
</ul>
<h2> Save Time to Quickly Customize </h2>
<p>
You can highly customize this navigation system without investing time in modifications of code.
</p>
<h3> 1. jSide Menu Skin </h3>
<p> Choose the theme for the menu: </p>
<div class="theme-tray">
<section class="pl-color">
<h4> Plain Color</h4>
<span title="Love Red" class="red"> </span>
<span title="Clover Green" class="green"> </span>
<span title="Dodger Blue" class="blue"> </span>
<span title="Bright Neon Pink" class="bnp"> </span>
<span title="Pumpkin Orange" class="orange"> </span>
<span title="Black" class="black"> </span>
<span title="Neon Pink" class="pink"> </span>
<span title="Golden Brown" class="gol-b"> </span>
<span title="Greenish Blue" class="greenish"> </span>
<span title="Wood" class="wood"> </span>
</section>
<section class="gr-color">
<h4> Gradient Color</h4>
<span title="Flickr" class="flickr"> </span>
<span title="Facebook Messenger" class="fb-messenger"> </span>
<span title="Moonlit Asteroid" class="moonlit"> </span>
<span title="Park Life" class="park-life"> </span>
<span title="Dance to Forget" class="d2f"> </span>
<span title="Man of the Steel" class="steel-man"> </span>
<span title="Amethyst" class="amethyst"> </span>
<span title="Between the Clouds" class="between-clouds"> </span>
<span title="Crazy Orange"class="crazy-orange"> </span>
<span title="Endless River" class="endless-river"> </span>
</section>
</div>
<!--//theme-tray-->
<h3>2. Menubar Position</h3>
<p> Choose the menubar position:</p>
<ol>
<li> <input type="radio" id="set-top" name="radio" checked/> Fixed on Top </li>
<li> <input type="radio" name="radio" id="set-st"/> Static </li>
</ol>
<h3>3. Menu Container Position </h3>
<p> Choose the suitable position for menu container. </p>
<select class="menu-position">
<option> position-left </option>
<option> position-right </option>
</select>
<h2>Generated Script</h2>
<p>
Copy and paste it into document ready function.
</p>
<pre class="prettyprint">
$(".menu-container").jSideMenu({
<span class="j-pos">jSidePosition: "position-left",</span>
<span class="j-sticky">jSideSticky: true, </span>
<span class="j-skin">jSideSkin: "default-skin", </span>
});
</pre>
<h2> Browsers Compatability</h2>
<p>Best view on Google Chrome, Firefox, Opera and UC Desktop Browser</p>
</p>
</article>
</main>
<div class="htmleaf-container">
</div>
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="js/jquery.jside.menu.js"></script>
<script src="js/demo-only.js"></script>
<script>
$(document).ready(function(){
$(".menu-container").jSideMenu({
jSidePosition: "position-left", //possible options position-left or position-right
jSideSticky: true, // menubar will be fixed on top, false to set static
jSideSkin: "default-skin", // to apply custom skin, just put its name in this string