ul li 美丽菜单

ul li 美丽菜单     

ul li 美丽菜单

ul li 美丽菜单

 

 <div >Menu</li>
                <li>Menu</li>
                <li>Menu</li>
                <li>Menu</li>
                <li>Menu</li>
                <li>Menu</li>
                <li>Menu</li>
                <li>Menu</li>
            </ul>
        </div>

 

 

 <style type="text/css">
        .db_c
        {
            list-style-type: none;
            width: 90%;
            margin-left: 5%;
        }
        .db_c li
        {
            list-style-type: none;
            text-align: center;
            float: left;
            width: 85px;
            height: 25px;
            margin: 6px;
            line-height: 24px;
            border: 0px red solid;
            margin-left: 10px;
            color: White;
            font-weight: bold;
            font-size: small;
        }
        .db_c li:hover
        {
            color: White;
            font-weight: bold;
            font-size: small;
            cursor: pointer;
            background: url(nav_over.gif);
        }
        .showdh
        {
            background: url(nav_over.gif);
        }
    </style>

    <script type="text/javascript">
        $(function() {
            $("ul li", "#dh_title").click(function() {
                $("ul li", "#dh_title").each(function() {
                    $(this).removeClass("showdh");
                });
                $(this).addClass("showdh");
            });
        });
    </script>

相关文章:

  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-31
  • 2021-08-17
  • 2022-12-23
  • 2021-10-13
  • 2021-12-10
  • 2022-12-23
相关资源
相似解决方案