|
1 <!DOCTYPE html> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta charset="UTF-8" /> |
|
5 <title>jQuery UI Dialog - Default functionality</title> |
|
6 <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" /> |
|
7 <script type="text/javascript" src="../../jquery-1.4.2.js"></script> |
|
8 <script type="text/javascript" src="../../external/jquery.bgiframe-2.1.1.js.js"></script> |
|
9 <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script> |
|
10 <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script> |
|
11 <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script> |
|
12 <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script> |
|
13 <script type="text/javascript" src="../../ui/jquery.ui.position.js"></script> |
|
14 <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script> |
|
15 <script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script> |
|
16 <link type="text/css" href="../demos.css" rel="stylesheet" /> |
|
17 <script type="text/javascript"> |
|
18 $(function() { |
|
19 $("#dialog").dialog(); |
|
20 }); |
|
21 </script> |
|
22 </head> |
|
23 <body> |
|
24 |
|
25 <div class="demo"> |
|
26 |
|
27 <div id="dialog" title="Basic dialog"> |
|
28 <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> |
|
30 |
|
31 <!-- Sample page content to illustrate the layering of the dialog --> |
|
32 <div class="hiddenInViewSource" style="padding:20px;"> |
|
33 <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p> |
|
34 <form> |
|
35 <input value="text input" /><br /> |
|
36 <input type="checkbox" />checkbox<br /> |
|
37 <input type="radio" />radio<br /> |
|
38 <select> |
|
39 <option>select</option> |
|
40 </select><br /><br /> |
|
41 <textarea>textarea</textarea><br /> |
|
42 </form> |
|
43 </div><!-- End sample page content --> |
|
44 |
|
45 </div><!-- End demo --> |
|
46 |
|
47 <div class="demo-description"> |
|
48 |
|
49 <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> |
|
50 |
|
51 </div><!-- End demo-description --> |
|
52 |
|
53 </body> |
|
54 </html> |