学习从实践开始之jQuery插件开发 菜单插件开发(4)


View Code
<div>
                <ul>
                    <li><a href="#"><span>一级菜单1</span></a></li>
                    <li><a href="#"><span>一级菜单2</span></a></li>
                    <li>
                        <a href="#"><span>一级菜单3</span></a>
                        <ul>
                            <li><a href="#"><span>二级菜单1</span></a></li>
                            <li><a href="#"><span>二级菜单2</span></a></li>
                            <li><a href="#"><span>二级菜单3</span></a></li>
                            <li>
                                <a href="#"><span>二级菜单4</span></a>
                                <ul>
                                    <li><a href="#"><span>三级菜单1</span></a></li>
                                    <li><a href="#"><span>三级菜单2</span></a></li>
                                    <li><a href="#"><span>三级菜单3</span></a></li>
                                    <li><a href="#"><span>三级菜单4</span></a></li>
                                    <li><a href="#"><span>三级菜单5</span></a></li>
                                </ul>
                            </li>
                            <li><a href="#"><span>二级菜单5</span></a></li>
                        </ul>
                    </li>
                    <li><a href="#"><span>一级菜单4</span></a></li>
                    <li><a href="#"><span>一级菜单5</span></a></li>
                </ul>
            </div>
            <div></div>
            <div>
                <ul>
                    <li><a href="#"><span>一级菜单1</span></a></li>
                    <li><a href="#"><span>一级菜单2</span></a></li>
                    <li>
                        <a href="#"><span>一级菜单3</span></a>
                        <ul>
                            <li><a href="#"><span>二级菜单1</span></a></li>
                            <li><a href="#"><span>二级菜单2</span></a></li>
                            <li><a href="#"><span>二级菜单3</span></a></li>
                            <li>
                                <a href="#"><span>二级菜单4</span></a>
                                <ul>
                                    <li><a href="#"><span>三级菜单1</span></a></li>
                                    <li><a href="#"><span>三级菜单2</span></a></li>
                                    <li><a href="#"><span>三级菜单3</span></a></li>
                                    <li><a href="#"><span>三级菜单4</span></a></li>
                                    <li><a href="#"><span>三级菜单5</span></a></li>
                                </ul>
                            </li>
                            <li><a href="#"><span>二级菜单5</span></a></li>
                        </ul>
                    </li>
                    <li><a href="#"><span>一级菜单4</span></a></li>
                    <li><a href="#"><span>一级菜单5</span></a></li>
                </ul>
            </div>


七.下载
点击这里 下载使用例子,和所有文件。

您可能感兴趣的文章:

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

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