7
|
1 <!doctype html>
|
|
2 <html lang="en">
|
|
3 <head>
|
|
4 <meta charset="utf-8">
|
|
5 <title>jQuery UI Dialog - Default functionality</title>
|
|
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7 <script src="../../jquery-1.10.2.js"></script>
|
|
8 <script src="../../ui/jquery.ui.core.js"></script>
|
|
9 <script src="../../ui/jquery.ui.widget.js"></script>
|
|
10 <script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11 <script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12 <script src="../../ui/jquery.ui.position.js"></script>
|
|
13 <script src="../../ui/jquery.ui.resizable.js"></script>
|
|
14 <script src="../../ui/jquery.ui.button.js"></script>
|
|
15 <script src="../../ui/jquery.ui.dialog.js"></script>
|
|
16 <link rel="stylesheet" href="../demos.css">
|
|
17 <script>
|
|
18 $(function() {
|
|
19 $( "#dialog" ).dialog();
|
|
20 });
|
|
21 </script>
|
|
22 </head>
|
|
23 <body>
|
|
24
|
|
25 <div id="dialog" title="Basic dialog">
|
|
26 <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
|
|
27 </div>
|
|
28
|
|
29 <div class="demo-description">
|
|
30 <p>The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.</p>
|
|
31 </div>
|
|
32 </body>
|
|
33 </html>
|