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>

  • 相关阅读:
    shell脚本 加密备份MySQL数据库
    C#在Linux下获取文件夹信息(所在磁盘总大小,使用空间,已用空间,使用率)
    bootstrap--- 两种bootstrap multiselect组件大比拼
    C# 文件重命名
    C#中一些常用的正则表达式
    C# 文件压缩加解密
    Python 由__dict__和dir()引发的一些思考
    python3随机生成中文字符
    Django自定义过滤器中is_safe和need_autoescape两个参数的理解
    Python格式化字符串--format
  • 原文地址:https://www.cnblogs.com/LD1018/p/8032074.html
Copyright © 2011-2022 走看看