如何在子菜单中添加子下拉菜单 [英] How can I add sub drop down menu to the mega menu

查看:66
本文介绍了如何在子菜单中添加子下拉菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以下代码的产品部分下,我还需要一个用于通风柜和家具的各个部分的下拉菜单。

这里是测试文件:

https ://jsfiddle.net/p50mjao8/em ...

Under the products section of the following code, I need a dropdown menu for individual sections of fumehoods and furniture as well.
here is the test file:
https://jsfiddle.net/p50mjao8/em...

推荐答案

您发送的测试文件似乎不起作用,请尝试从本教程中获取以下内容: CSS下拉列表| HTML狗 [ ^ ]



The test file you sent doesn't appear to work, try the following taken from this tutorial: CSS Dropdowns | HTML Dog[^]

<li>
    <a href="">Mammals</a>
    <ul>
        <li>
            <a href="">Monotremes</a>
            <ul>
                <li><a href="">Echidnas</a></li>
                <li><a href="">Platypus</a></li>
            </ul>
        </li>
        <li>
            <a href="">Marsupials</a>
            <ul>
                <li><a href="">Opossums</a></li>
                <li><a href="">Numbats, etc.</a></li>
                <li><a href="">Bandicoots, etc.</a></li>
                <li><a href="">Kangaroos, koalas, wombats, etc.</a></li>
            </ul>
        </li>
        <li>
            <a href="">Placentals</a>
            <ul>
                <li><a href="">Primates, ungulates, etc.</a></li>
                <li><a href="">Anteaters, sloths, etc.</a></li>
                <li><a href="">Elephants, etc.</a></li>
            </ul>
        </li>
    </ul>
</li>


这篇关于如何在子菜单中添加子下拉菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆