欢迎光临一流素材网,免积分免费素材下载!
AD
当前位置:首页 > JS代码 > 菜单导航

jquery滑动导航插件

所属栏目:菜单导航更新时间:2016-07-12原作者:不详发布者:deepdfhy浏览:0
基本信息
  • 发布者:
  • 原作者:不详
  • 来源:不详
  • 版权声明


使用方法

包括jQuery和jquery-sliding-menu.js 、jquery-sliding-menu.css添加到您的网页

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-sliding-menu.js"></script>

js初始化导航menu()

<script type="text/javascript">
$(document).ready(function()
{
$('#menu').menu();
});
</script>

html结构

<div id="menu">
        <ul>
                <li> <a href="#"> Artists </a>
                        <ul>
                                <li> <a href="#"> Aerosmith </a>
                                        <ul>
                                                <li> <a href="#"> Get Your Wings </a>
                                                        <ul>
                                                                <li> <a href="#"> Train Kept A-Rollin' <;/a> </li>
                                                                <li> <a href="#"> Same Old Song and Dance <;/a> </li>
                                                        </ul>
                                                </li>
                                        </ul>
                                </li>
                                <li> <a href="#"> Eagles </a>
                                        <ul>
                                                <li> <a href="#"> Hotel California </a>
                                                        <ul>
                                                                <li> <a href="#"> Hotel California <;/a> </li>
                                                                <li> <a href="#"> Pretty Maids All in a Row <;/a> </li>
                                                        </ul>
                                                </li>
                                        </ul>
                                </li>
                                <li> <a href="#"> Led Zeppelin </a>
                                        <ul>
                                                <li> <a href="#"> Physical Graffiti </a>
                                                        <ul>
                                                                <li> <a href="#"> In My Time of Dying <;/a> </li>
                                                                <li> <a href="#"> Houses of the Holy <;/a> </li>
                                                        </ul>
                                                </li>
                                        </ul>
                                </li>
                        </ul>
                </li>
                <li> <a href="#"> Albums </a>
                        <ul>
                                <li> <a href="#"> Get Your Wings </a>
                                        <ul>
                                                <li> <a href="#"> Train Kept A-Rollin' <;/a> </li>
                                                <li> <a href="#"> Same Old Song and Dance <;/a> </li>
                                        </ul>
                                </li>
                                <li> <a href="#"> Hotel California </a>
                                        <ul>
                                                <li> <a href="#"> Hotel California <;/a> </li>
                                                <li> <a href="#"> Pretty Maids All in a Row <;/a> </li>
                                        </ul>
                                </li>
                                <li> <a href="#"> Physical Graffiti </a>
                                        <ul>
                                                <li> <a href="#"> In My Time of Dying <;/a> </li>
                                                <li> <a href="#"> Houses of the Holy <;/a> </li>
                                        </ul>
                                </li>
                        </ul>
                </li>
                <li> <a href="#"> Songs </a>
                        <ul>
                                <li> <a href="#"> In My Time of Dying <;/a> </li>
                                <li> <a href="#"> Houses of the Holy <;/a> </li>
                                <li> <a href="#"> Hotel California <;/a> </li>
                                <li> <a href="#"> Pretty Maids All in a Row <;/a> </li>
                                <li> <a href="#"> Train Kept A-Rollin' <;/a> </li>
                                <li> <a href="#"> Same Old Song and Dance <;/a> </li>
                        </ul>
                </li>
                <li> <a href="#"> Genres </a>
                        <ul>
                                <li> <a href="#"> Rock </a>
                                        <ul>
                                                <li> <a href="#"> Hotel California <;/a> </li>
                                                <li> <a href="#"> Pretty Maids All in a Row <;/a> </li>
                                                <li> <a href="#"> Train Kept A-Rollin' <;/a> </li>
                                                <li> <a href="#"> Same Old Song and Dance <;/a> </li>
                                        </ul>
                                </li>
                                <li> <a href="#"> Hard rock </a>
                                        <ul>
                                                <li> <a href="#"> In My Time of Dying <;/a> </li>
                                                <li> <a href="#"> Houses of the Holy <;/a> </li>
                                        </ul>
                                </li>
                        </ul>
                </li>
        </ul>
</div>


具体效果请看演示,一流资源网推荐下载。

标签:
代码下载
本站下载
收藏 0 有帮助 0 没帮助 0
请站长喝杯咖啡?

站长一直坚持白天工作、晚上熬夜更新素材,付出了巨大的精力和时间,其中的辛酸难以言述。

如果本站素材对你有用,不妨考虑请站长喝杯咖啡鼓励一下!

立即打赏 0
给个评价吧
最受欢迎的

1jQuery仿微信公众号底部导航菜单自定义菜单代码

2JSON无限折叠树形菜单特效代码

3原生js树形下拉菜单插件/可定义伸缩菜单列表/支持写入cookie

4仿京东手机版左右风格TAB滑动商品分类代码

5jQuery导航滚动到一定高底后吸顶,锚点定位自动跟随

6纯HTML5二级折叠菜单代码

7jQuery垂直多级下拉树形菜单代码

8纯CSS下拉菜单导航代码JQ升级版(兼容IE6)

9纯CSS分类菜单弹出式三级菜单代码

10jquery多级/无限级树形菜单代码

最新更新的

1jQuery仿手机微信公众号底部菜单代码

2Layui多级垂直导航菜单代码

3移动端侧栏侧滑菜单JS代码

4 js移动端右侧多级导航菜单代码

5JS移动端折叠展示式导航菜单代码

6Layui响应式导航菜单

7纯CSS下拉菜单导航代码JQ升级版(兼容IE6)

8jQuery垂直多级下拉树形菜单代码

9tab导航缓慢弹出下拉效果

10纯css3制作3D旋转导航