左侧固定侧边栏导航
固定宽度,移动端不适用,本站有其他折叠的代码,例如Jquery侧边栏固定折叠导航
XML/HTML Code
- <div id="contentLeft">
- <ul id="leftNavigation">
- <li class="active">
- <a href="#"><i class="fa fa-coffee leftNavIcon"></i> About us</a>
- <ul>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Our History</a>
- </li>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Our Team</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="#"><i class="fa fa-flask leftNavIcon"></i> Products</a>
- <ul>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Garden</a>
- </li>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Office</a>
- </li>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Home</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="#"><i class="fa fa-truck leftNavIcon"></i> Services</a>
- <ul>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Garden</a>
- </li>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Office</a>
- </li>
- <li>
- <a href="#"><i class="fa fa-angle-right leftNavIcon"></i> Home</a>
- </li>
- </ul>
- </li>
- <li class="clickable">
- <a href="#"><i class="fa fa-envelope-o leftNavIcon"></i> Contact us</a>
- </li>
- </ul>
- </div>
原文地址:http://www.freejs.net/article_daohangcaidan_885.html