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>

  • 相关阅读:
    测试阅读量
    JS中的 length, var i = [1,2]; i[length], 与 i.length, i["length"]的区别
    微信小程序:button组件的边框
    mongo学习笔记
    C言语语法总结(随时更新)
    Vim 常用命令总结
    php 文件操作
    git常用命令
    递归方式转迭代方式
    ECMAScript6 ES6 ES2015新语法总结
  • 原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/1413153.html
Copyright © 2011-2022 走看看