jside 响应式侧边栏导航,可以在右侧或者左侧
XML/HTML Code
- <menu class="menubar">
- <menuitem>
- <button class="menu-trigger"> </button>
- </menuitem>
- <menuitem class="logo" title="Your Logo Goes Here">
- <a href="#1"><img src="http://www.freejs.net/images/logo.png" alt="jSide Menu" /> </a>
- </menuitem>
- </menu>
XML/HTML Code
- <div class="menu-head">
- <span class="layer">
- <div class="col">
- <div class="row for-pic">
- <div class="profile-pic">
- <img src="http://www.freejs.net/images/logo.png" alt="freejs.net" />
- </div>
- </div>
- <div class="row for-name">
- <h3 title="User Name">Freejs.net </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>
原文地址:http://www.freejs.net/article_daohangcaidan_729.html