5 <title>jQuery UI Dialog - Default functionality</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.9.1.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">
19 $( "#dialog" ).dialog();
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>
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>