• easyUI ---linkButton


    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>按钮</title>
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/linkbutton.css">
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/splitbutton.css">
    <script src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <script>
    $(function () {
    //禁用链接按钮
    $('#cancel').linkbutton('disable');

    //启用链接按钮
    // $('#cancel').linkbutton({disabled:false});
    });
    </script>
    </head>
    <body>
    <!--链接按钮-->
    <div>
    <a href="#" id="cancel" class="easyui-linkbutton" iconCls="icon-cancel">Cancel</a>
    <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-print">Print</a>
    <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-reload">Refresh</a>
    <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-search">Query</a>
    </div>

    <br><br><br>

    <div>
    <div style="background:#fafafa;padding:5px;200px;border:1px solid #ccc">
    <a href="#" class="easyui-menubutton" menu=".box1" iconCls="icon-edit">Edit</a>
    <a href="#" class="easyui-menubutton" menu=".box2" iconCls="icon-help">Help</a>
    </div>
    <!--菜单按钮-->
    <div class="box1" style=" 100px;">
    <div iconCls="icon-add">Add</div>
    是iconCls:不是class
    <div iconCls="icon-cut">Cut</div>
    <div iconCls="icon-undo">Undo</div>
    <!--分割按钮:类名"menu-sep"-->
    <div class="menu-sep"></div>
    <div>Copy</div>
    <div>Delete</div>
    <div class="menu-sep"></div>
    <div iconCls="icon-redo">Redo</div>
    <div iconCls="icon-remove">Remove</div>
    <div>
    <span>Open</span>
    <div style="150px;">
    <div>Firefox</div>
    <div>Internet Explorer</div>
    <div class="menu-sep"></div>
    <div>Select Program...</div>
    </div>
    </div>
    <div>Select All</div>
    </div>
    <div class="box2" style=" 150px">
    <div>Help</div>
    <div>Update</div>
    <div>About</div>
    </div>
    </div>
    </body>
    </html>
    没有人能一路单纯到底,但是要记住,别忘了最初的自己!
  • 相关阅读:
    MDCFilter
    SpringCloud组件:Eureka服务注册用ip或主机名
    git查看分支创建于哪个分支
    关于FeignClient使用大全
    tinyint能不能保存负数
    QCon 回顾 | Data Fabric:逻辑统一、物理分散
    国产开源存储之光:Curve 通过信创认证
    有数大数据基础平台之智能运维平台EasyEagle介绍:集群队列篇
    数据治理体系演进简介
    Arctic开源!网易数帆×华泰证券,推动湖仓一体落地
  • 原文地址:https://www.cnblogs.com/LindaBlog/p/9224161.html
Copyright © 2020-2023  润新知