zoukankan      html  css  js  c++  java
  • default.aspx内容

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="JQueryDialog._Default" %>

    <!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 runat="server">
        <title></title>
        <link rel="Stylesheet" href="Style/jquery-ui-themeroller.css" type="text/css" />
        <asp:PlaceHolder id="pl" runat="server" />
        <script src="Common/Scripts/jquery-1.2.6.js"></script>
        <script src="Common/Scripts/ui.core.js"></script>   
        <script src="Common/Scripts/ui.draggable.js"></script>
        <script src="Common/Scripts/ui.resizable.js"></script>
        <script src="Common/Scripts/ui.dialog.js"></script>
        <style>body{font-size:12px;}</style>
    </head>
    <body>
        <form id="form1" runat="server">
         <script type="text/javascript">   
            $(function(){           
                $("#dialog").dialog({
                    modal: true,
                    draggable: true,
                    resizable: true,
                    autoOpen: true,
                    400,
                    height: 230,
                    position: 'center',
                    title: '应用系统选择',
                    overlay: {
                        opacity: 0.5,
                        background: "black"
                    },
                    buttons: {
                            '确定': function() {
                                $(this).dialog("close");
                            },
                            '取消': function() { $(this).dialog("close"); }
                    }
                });
                $("#dialog2").dialog({
                    modal: true,
                    draggable: true,
                    resizable: true,
                    autoOpen: true,
                    400,
                    height: 230,
                    position: 'center',
                    title: '应用系统选择',
                    overlay: {
                        opacity: 0.5,
                        background: "black"
                    },
                    buttons: {
                            '确定': function() {
                                $(this).dialog("close");
                            },
                            '取消': function() { $(this).dialog("close"); }
                    }
                });
            });
        </script>
        <div id="dialog"><div>
        <table id="tbl_aaa" border="1"><tr><td>
        ABCDEFGHIJKLJMNABCDEFGHIJKLJMNABCDEFGHIJKLJMNABCDEFGHIJKLJMNABCD
        </td></tr></table></div>
        </div>
        <div id="dialog2">
        <table border="1"><tr><td>
        Hello,world=============================================================
        </td></tr></table>
        </div>
        <input type="button" href="javascript:void(0);" onclick="$('#dialog').dialog('open');" value="显示" />
        <input type="button" href="javascript:void(0);" onclick="$('#dialog2').dialog('open');" value="显示2" />
        </form>
    </body>
    </html>

  • 相关阅读:
    前端总结数据结构与算法基础
    Linux 常用命令
    mariadb下载二进制包源码包地址(使用清华)
    centos7添加永久静态路由
    登录普通用户会报错-bash: ulimit: open files: cannot modify limit: Operation not permitted
    编写二进制安装mariadb10.2的ansible-playbook剧本
    su
    URL后面加不加“/”有区别吗?
    RocketMQ在面试中那些常见问题及答案+汇总
    通过实现网站访问计数器带你理解 轻量级锁CAS原理,还学不会算我输!!!
  • 原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/1413153.html
Copyright © 2011-2022 走看看