<% @ 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,
Width: 400,
Height: 230,
Position: 'center ',
Title: 'application system select ',
Overlay :{
Opacity: 0.5,
Background: "black"
},
Buttons :{
'OK': function (){
$ (This). Dialog ("close ");
},
'Cancel': function () {$ (this). Dialog ("close ");}
}
});
$ ("# Dialog2"). Dialog ({
Modal: True,
Draggable: True,
Resizable: True,
Autoopen: True,
Width: 400,
Height: 230,
Position: 'center ',
Title: 'application system select ',
Overlay :{
Opacity: 0.5,
Background: "black"
},
Buttons :{
'OK': function (){
$ (This). Dialog ("close ");
},
'Cancel': 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 =" display "/>
<Input type = "button" href = "javascript: void (0);" onclick = "$ ('# dialog2 '). dialog ('open'); "value =" show 2 "/>
</Form>
</Body>
</Html>