js实现的常用的左侧导航效果

常用的左侧导航效果,JS简单,为提高导航性能而生,各位可以 参考应用。

效果展示:

js实现的常用的左侧导航效果

 
HTML:

复制代码 代码如下:


<!--左侧菜单-->
<div>
<ul>
<li>
<p><a href="#" target="_blank">服饰箱包</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a><br/>
<a href="#" target="_blank">鞋</a><a href="#" target="_blank">饰品</a>
</p>
</li>
<li>
<p><a href="#" target="_blank">酒水饮料</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a><br/>
<a href="#" target="_blank">鞋</a><a href="#" target="_blank">饰品</a>
</p>
</li>
<li>
<p><a href="#" target="_blank">居家建材</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a><br/>
<a href="#" target="_blank">鞋</a><a href="#" target="_blank">饰品</a>
</p>
</li>
<li>
<p><a href="#" target="_blank">餐饮娱乐</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a><br/>
<a href="#" target="_blank">鞋</a><a href="#" target="_blank">饰品</a>
</p>
</li>
<li>
<p><a href="#" target="_blank">美容保健</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a><br/>
<a href="#" target="_blank">鞋</a><a href="#" target="_blank">饰品</a>
</p>
</li>
<li>
<p><a href="#" target="_blank">教育培训</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a>
</p>
</li>
<li>
<p><a href="#" target="_blank">工业品</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a>
</p>
</li>
<li>
<p><a href="#" target="_blank">新奇特</a></p>
<p>
<a href="#" target="_blank">女装</a><a href="#" target="_blank">男装</a><a href="#" target="_blank">童装</a><a href="#" target="_blank">包包</a><br/>
<a href="#" target="_blank">鞋</a><a href="#" target="_blank">饰品</a>
</p>
</li>
</ul>

<div>
<div>

<div>
<span>项目视频</span>
<div>
<ul>
<li><a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_53.gif" /></a></li>
<li><a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_53.gif" /></a></li>
<li><a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_53.gif" /></a></li>
<li><a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_53.gif" /></a></li>
<li><a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_53.gif" /></a></li>
</ul>
</div>
<div>
<span href="#"></span>
<span href="#"></span>
<div>
<div>
<ul>
<li>
<p>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名" /></a>
</p>
<p>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名" /></a>
</span>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名" /></a>
</span>

</p>
<p>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</p>
<p>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>

</p>
<p>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>

</p>
</li>
<li>
<p>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名" /></a>
</p>
<p>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名" /></a>
</span>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名" /></a>
</span>

</p>
<p>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</p>
<p>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>

</p>
<p>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>
<span>
<a href="#" target="_blank"><img src="https://www.jb51.net/images/ad/home_88.jpg" alt="项目名"/></a>
</span>

</p>
</li>
</ul>
</div>
</div>
</div>

<div><img src="https://www.jb51.net/images/pic_fsxb.png" /></div>
</div>



</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
</div>
</div>
<!--中间项目展示-->


JS:

复制代码 代码如下:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wdzgzf.html