zoukankan      html  css  js  c++  java
  • 实用帮助中心切换效果以及Css判断

    <script src="Js/jquery-1.8.3.min.js" type="text/javascript"></script>

        <script type="text/javascript" src="Js/Common.js"></script>

        <script type="text/javascript">
            $(function() {
                $(".faq_menu dt").click(function() {
                    var index = $(".faq_menu dt").index(this);
                    if ($(".faq_menu dl dt").eq(index).siblings("dd").css("display") == "block") {
                        $(".faq_menu dl dt").eq(index).find("span").html("&#xe674;");
                    } else {
                        $(".faq_menu dl dt").eq(index).find("span").html("&#xe673;");
                    }
                    $(".faq_menu dl dt").eq(index).siblings("dd").toggle('slow');
                });
            });
            $(function() {
                $(".faq_menu dd").click(function() {
                    var index = $(".faq_menu dd").index(this);
                    $(".faq_menu dd").eq(index).find("a").addClass("moa");
                    $(this).siblings().find("a").removeClass("moa");
                });
            })
        </script>  

     <div class="faq_menu" style="cursor: pointer">
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>基础使用</dt>
                    <dd>
                        <a>企业介绍类</a></dd>
                    <dd>
                        <a>数据安全类</a></dd>
                    <dd>
                        <a>用户注册类</a></dd>
                    <dd>
                        <a>系统管理类</a></dd></dl>
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>终端操作</dt>
                    <dd style="display: none">
                        <a>企业介绍类</a></dd>
                    <dd style="display: none">
                        <a>数据安全类</a></dd>
                    <dd style="display: none">
                        <a>用户注册类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd></dl>
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>主线应用</dt>
                    <dd style="display: none">
                        <a>企业介绍类</a></dd>
                    <dd style="display: none">
                        <a>数据安全类</a></dd>
                    <dd style="display: none">
                        <a>用户注册类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd></dl>
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>工作协同</dt>
                    <dd style="display: none">
                        <a>企业介绍类</a></dd>
                    <dd style="display: none">
                        <a>数据安全类</a></dd>
                    <dd style="display: none">
                        <a>用户注册类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd></dl>
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>内部管理</dt>
                    <dd style="display: none">
                        <a>企业介绍类</a></dd>
                    <dd style="display: none">
                        <a>数据安全类</a></dd>
                    <dd style="display: none">
                        <a>用户注册类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd></dl>
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>时间管理</dt>
                    <dd style="display: none">
                        <a>企业介绍类</a></dd>
                    <dd style="display: none">
                        <a>数据安全类</a></dd>
                    <dd style="display: none">
                        <a>用户注册类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd></dl>
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>沟通交流</dt>
                    <dd style="display: none">
                        <a>企业介绍类</a></dd>
                    <dd style="display: none">
                        <a>数据安全类</a></dd>
                    <dd style="display: none">
                        <a>用户注册类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd></dl>
                <dl>
                    <dt><span class="iconfont">&#xe674;</span>项目管理</dt>
                    <dd style="display: none">
                        <a>企业介绍类</a></dd>
                    <dd style="display: none">
                        <a>数据安全类</a></dd>
                    <dd style="display: none">
                        <a>用户注册类</a></dd>
                    <dd style="display: none">
                        <a>系统管理类</a></dd></dl>
            </div>

  • 相关阅读:
    静态代码块、非静态代码块、构造函数之间的执行顺序
    Linux跨主机传输文件
    🗒 Linux 系统监控
    Mysql Mode
    Mysql 表锁行锁
    Centos 下修改时区
    Redis 解决内存过大
    Mysql 表达式
    Centos 二进制包安装Mysql5.7
    Vim 快捷键
  • 原文地址:https://www.cnblogs.com/LD1018/p/8032074.html
Copyright © 2011-2022 走看看