zoukankan      html  css  js  c++  java
  • eazsy-ui 基础组件

    <%@ page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Basic EasyLoader - jQuery EasyUI Demo</title>
    <link rel="stylesheet" type="text/css"
        href="http://www.java1234.com/jquery-easyui-1.3.3/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css"
        href="http://www.java1234.com/jquery-easyui-1.3.3/themes/icon.css">
    <link rel="stylesheet" type="text/css"
        href="http://www.java1234.com/jquery-easyui-1.3.3/demo/demo.css">
    <script type="text/javascript"
        src="http://www.java1234.com/jquery-easyui-1.3.3/jquery.min.js"></script>
    <script type="text/javascript"
        src="http://www.java1234.com/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
    <script type="text/javascript"
        src="http://www.java1234.com/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript"
        src="http://www.java1234.com/jquery-easyui-1.3.3/easyloader.js"></script>
    </head>
    <body>
        <a id="bt" href="#" class="easyui-linkbutton">日历</a>
        <a id="dh" href="#" class="easyui-linkbutton">对话框</a>
        <a id="bg" href="#" class="easyui-linkbutton">数据表格</a>
        <div id="cc"></div>
        <div id="aa"></div>
        <table id="bb"></table>
    </body>
    <script type="text/javascript">
        $("#bt").bind({
            click:function(){
                $("#cc").calendar({
                    180,
                    height:180
                })
            }
        })
        $("#dh").click(function(){
            $("#aa").dialog({
                300,
                height:300,
                title:"book"
            })
        })
        
        $("#bg").click(function(){
            $("#bb").datagrid({
                500,
                height:300,
    //             fitColumns:true,
                resizeHandle:true,
                 columns:[[
                           {field:'id',title:'userid',100},
                           {field:'username',title:'username',100},
                           {field:'password',title:'password',100},
                       ]],
                data:${users},
                toolbar:[{text:'add'}]
            })
        })
    </script>
    </html>
  • 相关阅读:
    MVC3 缓存应用
    centos下安装tomcat
    VS2010安装完SP1后再安装Silverlight Tools 4遇到的问题解决办法
    TOMCAT多站点配置
    C#.NET 添加图片水印
    装了vs11后运行MVC3程序出问题
    ASP.NET Session的七点认识
    C# 用正则取文本中所有链接
    Long time no blog...
    从程序员到项目经理(二)
  • 原文地址:https://www.cnblogs.com/javaweb2/p/6285254.html
Copyright © 2011-2022 走看看