zoukankan      html  css  js  c++  java
  • toolbar示例

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Address_Manager</title>
        <link rel="Stylesheet" type="text/css" href="ext-4/resources/css/ext-all.css" />
        <link rel="Stylesheet" type="text/css" href="ext-4/resources/css/ext-all-access-debug.css" />
        <link rel="Stylesheet" type="text/css" href="ext-4/resources/css/ext-all-access.css" />
        <link rel="Stylesheet" type="text/css" href="ext-4/resources/css/ext-all-debug.css" />
        <link rel="Stylesheet" type="text/css" href="ext-4/resources/css/ext-standard.css" />
        <link rel="Stylesheet" type="text/css" href="ext-4/resources/css/ext-ie.css" />
        <script type="text/javascript" src="ext-4/ext-all.js"></script>     
        <!--<script type="text/javascript" src="app.js"></script>     -->
    </head>
    <body>
    <script type="text/javascript">
        Ext.onReady(function () {
            var Toolbar = new Ext.toolbar.Toolbar(
            {
                renderTo: 'toolbar',
                 300
            });
            var fileMenu = new Ext.menu.Menu({
                items: [{
                    xtype: 'textfield',
                    hideLabel: true,
                     100
                }, {
                    text: "颜色选择",
                    menu: new Ext.menu.ColorPicker()
                }, {
                    xtype: 'datepicker'
                }, {
                    xtype: 'buttongroup',
                    columns: 3,
                    title: '按钮组',
                    items: [{
                        text: '用户管理',
                        scale: 'large',
                        colspan: 3,
                         170,
                        iconCls: 'userManagerIcon',
                        iconAlign: 'top'
                    }, {
                        text: '新建', iconCls: 'newIcon'
                    },
                    {
                        text: '打开', iconCls: 'openIcon'
                    }, {
                        text: '保存', iconCls: 'saveIcon'
                    }]
                }]
            })
            Toolbar.add({ text: '文件', menu: fileMenu });
        });
    </script>
    <div id='toolbar'></div>
    </body>
    </html>
  • 相关阅读:
    Redis 连接命令
    Redis 脚本
    Redis 事务
    Redis 发布订阅
    Redis HyperLogLog
    Redis 有序集合(sorted set)
    Redis 集合(Set)
    Redis 列表(List)
    Redis 哈希(Hash)
    特定消费者的限制流量
  • 原文地址:https://www.cnblogs.com/super86/p/2991798.html
Copyright © 2011-2022 走看看